Date: Mon, 25 Oct 1999 21:27:15 -0700 (PDT) From: David Nugent <davidn@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pw fileupd.c grupd.c pw_group.c pw_user.c pwupd.c Message-ID: <199910260427.VAA52738@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidn 1999/10/25 21:27:15 PDT
Modified files:
usr.sbin/pw fileupd.c grupd.c pw_group.c pw_user.c
pwupd.c
Log:
Clean up error handling in fileupdate(), which now returns 0 on success
instead of a boolean. This replicated through he front-end sub-functions
relating to add, delete, modify entries in passwd & group files
Errno is now preserved so output of errc()/warnc() will be less obfuscated
by subsequent errors when reporting the problem.
Add more intelligent error handling when attempting to modify/delete NIS
entries with no corresponding local database entry.
[MFC to stable in a couple of weeks to keep both in sync]
Revision Changes Path
1.9 +36 -28 src/usr.sbin/pw/fileupd.c
1.8 +4 -3 src/usr.sbin/pw/grupd.c
1.10 +21 -6 src/usr.sbin/pw/pw_group.c
1.31 +50 -22 src/usr.sbin/pw/pw_user.c
1.11 +11 -8 src/usr.sbin/pw/pwupd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910260427.VAA52738>
