Subject: CVS commit: src/lib/libc/gen
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 04/19/2005 03:00:12
Module Name:	src
Committed By:	lukem
Date:		Tue Apr 19 03:00:12 UTC 2005

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

Log Message:
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.56 -r1.57 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.