Date: Thu, 28 Apr 2005 16:11:37 +0000 (UTC) From: Robert Drehmel <robert@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/id id.c Message-ID: <200504281611.j3SGBcPF052856@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504281611.j3SGBcPF052856>