Subject: sun-lamp CVS commits
To: None <source-changes@pain.lcs.mit.edu>
From: The Source of All Evil <source@NetBSD.ORG>
List: source-changes
Date: 06/03/1995 03:10:01
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.