CVS commit: [netbsd-6] src/usr.sbin/edquota

Module Name: src
Committed By: riz
Date: Wed Aug 15 00:35:04 UTC 2012
Modified Files:
src/usr.sbin/edquota [netbsd-6]: edquota.c
Log Message:
Pull up following revision(s) (requested by dholland in ticket #498):
usr.sbin/edquota/edquota.c: revision 1.48
usr.sbin/edquota/edquota.c: revision 1.49
usr.sbin/edquota/edquota.c: revision 1.50
usr.sbin/edquota/edquota.c: revision 1.51
usr.sbin/edquota/edquota.c: revision 1.52
Minor cleanup: use bitfields instead of a flags word for private state
flags, remove now-unused qfname field.
Bail out early if none of the mounted volumes support quotas. Avoids a
null print in interactive use.
Make editor-based edquota work again.
The format is somewhat different; I'm operating under the assumption
that nobody has automated editing scripts for the old format because
it's much easier just to use the command-line interface of
edquota. The new format is more scalable and more parseable.
Also, do a better job of diagnosing editing errors, and don't blindly
erase all quota information for the user being edited when a parse
error occurs after editing.
three more minor fixes.
Grr. The ATF quota tests demand failing silently in certain circumstances.
For netbsd-6 we will just have to go with the flow, as I'm not touching
anything outside edquota tonight.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.46.2.1 src/usr.sbin/edquota/edquota.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.