Subject: CVS commit: [netbsd-3] src/lib/libc/gen
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 07/11/2005 21:25:27
Module Name:	src
Committed By:	tron
Date:		Mon Jul 11 21:25:27 UTC 2005

Modified Files:
	src/lib/libc/gen [netbsd-3]: getgrent.c

Log Message:
Pull up revision 1.57 (requested by lukem in ticket #540):
getgrent():
Return the correct result. (broken in rev 1.56 -- Hi Christos!)
getgr{ent,nam,uid}_r():
Return 0 "entry not found" and errno for other failures.
("entry not found" still sets *result to NULL).
Various backends:
don't set the retval to errno (or modify errno) for NS_NOTFOUND.
Per discussion with Klaus Klein.


To generate a diff of this commit:
cvs rdiff -r1.54.2.2 -r1.54.2.3 src/lib/libc/gen/getgrent.c

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