Jim Meyering
985cf06296
(getugroups): Cast -1 to gid_t, for systems like
...
SunOS4.1.4 for which gid_t is an unsigned type.
2000-06-04 06:47:31 +00:00
Jim Meyering
634a39aad5
(getugroups): Don't dereference a null pointer when
...
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-05-15 04:50:26 +00:00
Jim Meyering
4ba4999328
(getugroups): Take new parameter, gid.
...
Add gid to the list of groups.
From Ulrich Drepper.
1999-03-10 15:35:47 +00:00
Jim Meyering
fbaac7ba29
fix small thinko
1999-03-09 16:10:30 +00:00
Jim Meyering
290a9e03f2
(getugroups): Take new parameter, gid.
...
Add gid to the list of groups.
From Ulrich Drepper.
1999-03-09 16:07:49 +00:00
Jim Meyering
e03fc9bc82
protoize
1998-03-13 15:25:49 +00:00
Jim Meyering
64379c5cd8
(getugroups): Don't add a group number if it would be a duplicate.
...
From Ulrich Drepper.
1998-03-13 15:24:43 +00:00
Jim Meyering
19bff1c02d
indent cpp-directives
1996-07-15 03:56:06 +00:00
Jim Meyering
6014da9e30
update FSF address in copyright
1996-07-15 03:43:36 +00:00
Jim Meyering
0a6412bea9
Include stdio.h before grp.h.
...
Because <grp.h> on alpha OSF1 V2.0 uses "FILE *". From Kaveh Ghazi.
1996-04-03 13:19:16 +00:00
Jim Meyering
ccbd1d7dc5
Initial revision
1992-11-01 05:44:29 +00:00