[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EOVERFLOW
From: |
Bruno Haible |
Subject: |
Re: EOVERFLOW |
Date: |
Sun, 30 Mar 2008 14:58:52 +0100 |
User-agent: |
KMail/1.5.4 |
Jim Meyering wrote:
> > Jim, is it ok to do the same for the 'getugroups' module?
>
> Sure.
Applied:
* lib/getugroups.c (EOVERFLOW): Remove fallback.
* modules/getugroups (Depends-on): Add EOVERFLOW.
*** lib/getugroups.c.orig 2008-03-30 15:55:05.000000000 +0200
--- lib/getugroups.c 2008-03-30 12:49:38.000000000 +0200
***************
*** 1,6 ****
/* getugroups.c -- return a list of the groups a user is in
! Copyright (C) 1990, 1991, 1998-2000, 2003-2007 Free Software Foundation.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
--- 1,6 ----
/* getugroups.c -- return a list of the groups a user is in
! Copyright (C) 1990, 1991, 1998-2000, 2003-2008 Free Software Foundation.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
***************
*** 28,36 ****
#include <unistd.h>
#include <errno.h>
- #ifndef EOVERFLOW
- # define EOVERFLOW EINVAL
- #endif
/* Some old header files might not declare setgrent, getgrent, and endgrent.
If you don't have them at all, we can't implement this function.
--- 28,33 ----
*** modules/getugroups.orig 2008-03-30 15:55:05.000000000 +0200
--- modules/getugroups 2008-03-30 12:58:44.000000000 +0200
***************
*** 7,12 ****
--- 7,13 ----
m4/getugroups.m4
Depends-on:
+ EOVERFLOW
configure.ac:
gl_GETUGROUPS