Subject: CVS commit: src/lib/libc/gen
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 10/07/2004 06:11:24
Module Name: src
Committed By: lukem
Date: Thu Oct 7 06:11:24 UTC 2004
Modified Files:
src/lib/libc/gen: getpwent.c
Log Message:
Ensure that _nis_start(&state) has been called before using PASSWD_BYNAME()
or PASSWD_BYUID(), otherwise state.maptype won't be correct and the wrong
map may be selected (e.g., "passwd.by*" instead of "master.passwd.by*").
Set _PASSWORD_NOWARN in flags to __pw_scan(), so libc won't display parse
errors to stderr. (This was the behaviour before my recent rototill.)
Fixes PR 27168 from Markus W Kilbinger.
To generate a diff of this commit:
cvs rdiff -r1.58 -r1.59 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.