Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sun-lamp CVS commits
- To: source-changes
- Subject: sun-lamp CVS commits
- From: The Source of All Evil <source>
- Date: Sat, 3 Jun 1995 03:10:01 -0400
jtc
Sat Jun 3 03:01:21 EDT 1995
Update of /a/cvsroot/src/usr.sbin/chown
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv17858
Modified Files:
chown.c
Log Message:
Remove chownerr() function completely and use warn() instead.
chownerr() would prematurely terminate the program if a error occured
(lack of permissions, nonexistant file, etc.), but POSIX.2 requires
that the chown and chgrp utilities continue on. Removing the code
that caused the program to exit turned chownerr into a wrapper
around warn(), so why not call warn() directly.
Also changed the file traversal logic so that directories are not
chown()'d twice. This only occured when the -R option was not used.
Home |
Main Index |
Thread Index |
Old Index