cvs commit: src/usr.bin/id id.c
Robert Drehmel
robert at FreeBSD.org
Fri Apr 29 03:11:19 PDT 2005
robert 2005-04-29 10:11:18 UTC
FreeBSD src repository
Modified files:
usr.bin/id id.c
Log:
Add flag to choose whether to use getgrouplist(3) or getgroups(2)
to the id_print() function.
Use getgrouplist(3) for the case when an user was specified,
and getgroups(2) when no user was given.
That reverts to the expected behaviour and makes it easy to
implement an option later to force using getgrouplist(3).
Revision Changes Path
1.26 +11 -6 src/usr.bin/id/id.c
More information about the cvs-src
mailing list