summaryrefslogtreecommitdiff
path: root/lib/getugroups.c
AgeCommit message (Collapse)Author
2004-07-28Include <errno.h>.Paul Eggert
(EOVERFLOW): Define if not defined. (getgroups): Return -1 with errno=EOVERFLOW if an integer overflow occurs.
2003-09-10Include <string.h> unconditionally.Jim Meyering
2000-06-04(getugroups): Cast -1 to gid_t, for systems likeJim Meyering
SunOS4.1.4 for which gid_t is an unsigned type.
1999-05-15(getugroups): Don't dereference a null pointer whenJim Meyering
running `id USER' for some USER that is listed on the RHS in /etc/group. From Sander van Malssen. Add some curly braces, use STREQ, reverse the sense of a test and use `continue' to save a level of nesting.
1999-03-10(getugroups): Take new parameter, gid.Jim Meyering
Add gid to the list of groups. From Ulrich Drepper.
1999-03-09fix small thinkoJim Meyering
1999-03-09(getugroups): Take new parameter, gid.Jim Meyering
Add gid to the list of groups. From Ulrich Drepper.
1998-03-13protoizeJim Meyering
1998-03-13(getugroups): Don't add a group number if it would be a duplicate.Jim Meyering
From Ulrich Drepper.
1996-07-15indent cpp-directivesJim Meyering
1996-07-15update FSF address in copyrightJim Meyering
1996-04-03Include stdio.h before grp.h.Jim Meyering
Because <grp.h> on alpha OSF1 V2.0 uses "FILE *". From Kaveh Ghazi.
1992-11-01Initial revisionJim Meyering