]> git.ipfire.org Git - thirdparty/coreutils.git/commit
setuidgid.c: more cleanup
authorJim Meyering <meyering@redhat.com>
Mon, 26 Nov 2007 15:34:58 +0000 (16:34 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 26 Nov 2007 17:16:13 +0000 (18:16 +0100)
commitac8a9a1ff04190cb1eb32eff1f6cef0dc7489091
tree3905038e9be4e415225ed753294bcbb41fb1ffe5
parent9d0a3153692db17a514bb083e529e4d79f892123
setuidgid.c: more cleanup
* src/setuidgid.c: Include "mgetgroups.h".
(main): Don't presume there's a fixed limit on the maximum number
of group IDs.  Don't use NGROUPS; it's artificially low.
Change the name of a local: s/gids_count/n_gids/.
Remove non-portable "const": s/const int tmp =.../int tmp =.../
ChangeLog
src/setuidgid.c