Subject: CVS commit: src/lib/libc/gen
To: None <source-changes@NetBSD.org>
From: Brian Ginsbach <ginsbach@netbsd.org>
List: source-changes
Date: 06/29/2006 21:16:04
Module Name:	src
Committed By:	ginsbach
Date:		Thu Jun 29 21:16:04 UTC 2006

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

Log Message:
Fix YP lookup latency reported by Stephen M. Jones on tech-net.  This is a
performance regression between 2.0 and 3.0.  The passwd compat method was
incorrectly querying the NIS server with yp_first()/yp_next() rather than
using yp_match() with the correct key.


To generate a diff of this commit:
cvs rdiff -r1.71 -r1.72 src/lib/libc/gen/getpwent.c

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