From: Bruno Haible Date: Sun, 30 Mar 2008 13:58:28 +0000 (+0200) Subject: Use the EOVERFLOW module instead of a manual fallback for EOVERFLOW. X-Git-Tag: v0.1~7631^2~5 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=7aa2549d190edbd1d35ffbdfced79c696b7ca0db;p=gnulib.git Use the EOVERFLOW module instead of a manual fallback for EOVERFLOW. --- diff --git a/ChangeLog b/ChangeLog index 528de1034..d941dd1dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -83,6 +83,9 @@ * lib/poll.c (EOVERFLOW): Remove fallback. * modules/poll (Depends-on): Add EOVERFLOW. + * lib/getugroups.c (EOVERFLOW): Remove fallback. + * modules/getugroups (Depends-on): Add EOVERFLOW. + * lib/getdelim.c (EOVERFLOW): Remove fallback. * modules/getdelim (Depends-on): Add EOVERFLOW. diff --git a/lib/getugroups.c b/lib/getugroups.c index 4b8752f6b..e102f21ca 100644 --- a/lib/getugroups.c +++ b/lib/getugroups.c @@ -1,6 +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. + 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,9 +28,6 @@ #include #include -#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. diff --git a/modules/getugroups b/modules/getugroups index 634a72b2a..80f2f3c2d 100644 --- a/modules/getugroups +++ b/modules/getugroups @@ -7,6 +7,7 @@ lib/getugroups.h m4/getugroups.m4 Depends-on: +EOVERFLOW configure.ac: gl_GETUGROUPS