]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(RC_do_ordinary_chown): New enum value.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jan 2006 06:20:06 +0000 (06:20 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jan 2006 06:20:06 +0000 (06:20 +0000)
commit7126eb3216c92a7be5a9ff7011ca08a2a32ec190
tree47f3df0f76343ffedef90a62b2d59b290857f244
parent6023a621486813148ff6117dd2992111ab1ca1b2
(RC_do_ordinary_chown): New enum value.
(restricted_chown): Return it, if the file cannot be accessed due
to EPERM, or if no uid or gid are required, or if the file is
neither a directory nor a regular file.  Rewrite to avoid gotos.
(change_file_owner): Handle RC_do_ordinary_chown case.
Rewrite to avoid gotos.
src/chown-core.c