Subject: CVS commit: src/lib/libutil
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 02/18/2006 16:45:02
Module Name: src
Committed By: elad
Date: Sat Feb 18 16:45:02 UTC 2006
Modified Files:
src/lib/libutil: pw_policy.3 pw_policy.c
Log Message:
When loading a policy with an "nclasses" option, always set the min/max
values for the various character classes to allow any number, just in
case. Also note about that in the man-page.
This makes it easier to use the "nclasses" option.
Note that alternatively we could just memset() to 0xff when doing the
load, but that might lead to more unexpected behavior.
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/lib/libutil/pw_policy.3
cvs rdiff -r1.4 -r1.5 src/lib/libutil/pw_policy.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.