cvs commit: src/usr.bin/id id.c

[ Available lists | Index of cvs-src | Month of Apr 2005 | Week of 28 Apr 2005 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Robert Drehmel <robert@FreeBSD.org>
Date
28 Apr 2005 16:11:38
Subject
cvs commit: src/usr.bin/id id.c
Message-ID
200504281611.j3SGBcPF052856@repoman.freebsd.org


[ Hide this part ]
robert      2005-04-28 16:11:37 UTC

FreeBSD src repository

Modified files:
usr.bin/id id.c
Log:
We need to pass NGROUPS + 1 to getgrouplist(3) to display
NGROUPS groups. getgrouplist(3) may put a duplicate group
id into the passed array (it sets [0] and [1] to the value
of the gid argument), but id_print() sorts them out.

Revision Changes Path
1.25 +1 -1 src/usr.bin/id/id.c


Elapsed time: 0.042 seconds