summaryrefslogtreecommitdiff
path: root/modules/getgroups-tests
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-11-12 09:30:38 -0700
committerEric Blake <ebb9@byu.net>2009-11-13 07:39:01 -0700
commit80074d103cc72ea8f289b82c56bd3734aac82cd7 (patch)
tree72e0fb647722600449fb0675283e764df9da1d70 /modules/getgroups-tests
parent08e6b4c6ba690adba619a3c1695bc312d3e98136 (diff)
downloadgnulib-80074d103cc72ea8f289b82c56bd3734aac82cd7.tar.gz
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>
Diffstat (limited to 'modules/getgroups-tests')
-rw-r--r--modules/getgroups-tests2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/getgroups-tests b/modules/getgroups-tests
index f879e494b2..2a52621315 100644
--- a/modules/getgroups-tests
+++ b/modules/getgroups-tests
@@ -2,11 +2,9 @@ Files:
tests/test-getgroups.c
Depends-on:
-progname
configure.ac:
Makefile.am:
TESTS += test-getgroups
check_PROGRAMS += test-getgroups
-test_getgroups_LDADD = $(LDADD) @LIBINTL@