Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 04/25/1999 07:47:46
Module Name: src
Committed By: lukem
Date: Sun Apr 25 14:47:46 UTC 1999
Modified Files:
src/lib/libc/gen: getgrouplist.c
Log Message:
suppress duplicate gids (e.g, when multiple sources are given in
nsswitch.conf and they contain similar information).
XXX: in the case where the given array is too small and -1 is returned,
the returned ngroups will be too large by a factor of the difference
between the given size and the number of matches. this is not considered
to be a major problem, since it's still going to be a smaller figure than
what the previous (non suppressive) behaviour returned.