Up to [local] / src / usr.sbin / user
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_5
Revision 1.56 / (download) - annotate - [select for diffs], Thu Feb 26 21:18:18 2004 UTC (20 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.55: +41 -32 lines
Diff to previous 1.55 (colored)
Avoid using regexp when removing a user from /etc/group entries in userdel since a username may contain regexp special chars. Fix a memory leak on error and chmod before moving the new group file is moved into place instead of after. Saner error messages in rm_user_from_groups() (cut & pastos) OK deraadt@, tdeval@ and otto@; error message fixes courtesy of otto@