Subject: CVS commit: src/lib/libc/gen
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 09/28/2004 10:46:19
Module Name:	src
Committed By:	lukem
Date:		Tue Sep 28 10:46:19 UTC 2004

Modified Files:
	src/lib/libc/gen: getgrouplist.c

Log Message:
'gid_t *groups' may be NULL if we're just sizing the list by calling
getgrouplist(3) with *grpcnt==0, so don't _DIAGASSERT(groups != NULL).

Tweak API used between getgrouplist(3) and the back-end nsswitch methods;
move the public return value to the start of the va_list and reserve the
'void *retval' for "internal use" (e.g, errno passing or some other need).


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/lib/libc/gen/getgrouplist.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.