|
f3a2c4aa
|
2009-11-13T09:06:14
|
|
getgroups: avoid compilation failure
* lib/getgroups.c (includes): Include <stdint.h> for SIZE_MAX.
* modules/getgroups (Depends-on): Add stdint.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
61b3a422
|
2009-11-12T09:53:14
|
|
getgroups, getugroups: provide stubs for mingw
Avoid link failure on mingw, which lacks getgroups and anything
else related to gid_t management (stat.st_gid is always 0).
* lib/getgroups.c (getgroups): Provide ENOSYS stub for mingw.
* lib/getugroups.c (getugroups): Likewise.
* m4/getgroups.m4 (gl_FUNC_GETGROUPS): Check for missing
function. Modernize replacement scheme.
(gl_PREREQ_GETGROUPS): Delete.
* m4/getugroups.m4 (gl_GETUGROUPS): Check for <grp.h>.
* modules/getgroups (configure.ac): Declare witness.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add default.
* modules/unistd (Depends-on): Substitute witness.
* lib/unistd.in.h (getgroups): Declare replacement.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
80074d10
|
2009-11-12T09:30:38
|
|
getgroups: avoid calling exit
rpl_getgroups should be a library function, comparable to glibc.
* modules/getgroups (Depends-on): Add malloc-posix and unistd,
drop xalloc.
* modules/getgroups-tests (Depends-on, Makefile.am): Drop unneeded
dependencies.
* lib/getgroups.c (rpl_getgroups): Fail with ENOMEM rather than
exiting, in the rare case of malloc failure.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
5eeec029
|
2006-10-13T12:40:22
|
|
gnulib-tool now synthesizes the EXTRA_DIST line.
|
|
e8684643
|
2006-10-12T18:52:30
|
|
Distribute all lib/* source files through EXTRA_DIST.
|
|
5143f4e9
|
2004-09-22T15:11:04
|
|
Add a license tag to every module.
|
|
23fe10e2
|
2004-04-18T18:12:50
|
|
Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
|
|
6f99528a
|
2003-01-20T10:02:37
|
|
Add a Maintainer.
|
|
2e82f91f
|
2003-01-13T16:07:17
|
|
Add module descriptions.
|
|
740e9a30
|
2002-12-31T13:46:30
|
|
Module description.
|