* Fix problem where initgroups would silently truncate groups with
authorDavid Rhodus <drhodus@dragonflybsd.org>
Mon, 1 Dec 2003 23:46:20 +0000 (23:46 +0000)
committerDavid Rhodus <drhodus@dragonflybsd.org>
Mon, 1 Dec 2003 23:46:20 +0000 (23:46 +0000)
commitc0b1ae86967c782c032aa69088053f7278e23ba5
tree322c3f02d9d3f6347c1a01e516a643287d2d1d84
parent5bf739a7f5188a84e9863e5705be8cba854c2201
*   Fix problem where initgroups would silently truncate groups with
  more than NGROUP elements without providing the opportunity to
setgroups to fail and correctly return error and set errno.

Obtained from: FreeBSD
lib/libc/gen/initgroups.c