Subject: CVS commit: src/lib/libutil
To: None <source-changes@NetBSD.org>
From: Elad Efrat <email@example.com>
Date: 02/18/2006 16:45:02
Module Name: src
Committed By: elad
Date: Sat Feb 18 16:45:02 UTC 2006
src/lib/libutil: pw_policy.3 pw_policy.c
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.