diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-01-03 06:20:06 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-01-03 06:20:06 +0000 |
commit | 7126eb3216c92a7be5a9ff7011ca08a2a32ec190 (patch) | |
tree | 47f3df0f76343ffedef90a62b2d59b290857f244 /tests/chgrp | |
parent | 6023a621486813148ff6117dd2992111ab1ca1b2 (diff) | |
download | coreutils-7126eb3216c92a7be5a9ff7011ca08a2a32ec190.tar.xz |
(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.
Diffstat (limited to 'tests/chgrp')
0 files changed, 0 insertions, 0 deletions