1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/xgetgroups
Eric Blake 83b1d6414a hash, mgetgroups: drop xalloc dependency
Rely on the new xalloc-oversized module to avoid requiring
xalloc-die for functions documented as returning NULL on
potential allocation overflow.

* lib/hash.c (includes): Adjust includes.
* lib/mgetgroups.c (includes): Likewise.
(xgetgroups): Move...
* lib/xgetgroups.c: ...to new file.
* modules/xgetgroups: New file, split from...
* modules/mgetgroups: ...here.
(Depends-on): Add xalloc-oversized.
* modules/hash (Depends-on): Likewise.
* modules/hash-tests (Depends-on): Drop xalloc.
(test_hash_LDADD): Drop unused library.
* tests/test-hash.c (main): Break xalloc dependency.
(includes): Drop unused include.

Signed-off-by: Eric Blake <eblake@redhat.com>
2011-04-28 14:22:07 -06:00

26 lines
337 B
Plaintext

Description:
Return the group IDs of a user or current process in malloc'd storage, with
out-of-memory checking.
Files:
lib/xgetgroups.c
Depends-on:
mgetgroups
xalloc
configure.ac:
gl_MODULE_INDICATOR([xgetgroups])
Makefile.am:
lib_SOURCES += xgetgroups.c
Include:
"mgetgroups.h"
License:
GPL
Maintainer:
Jim Meyering, Eric Blake