diff options
author | Jim Meyering <jim@meyering.net> | 2000-12-15 13:24:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-12-15 13:24:47 +0000 |
commit | 9724aab7a65d8831d3322b1ed196b627b4b006ba (patch) | |
tree | ee3df748f885bfbb7a2d7ab93e9f36541dbaaee4 /lib/rmdir.c | |
parent | b6ca14a123d26e810d4a329076841e467bb6e756 (diff) | |
download | coreutils-9724aab7a65d8831d3322b1ed196b627b4b006ba.tar.xz |
Declare lstat.
Rename change_symlinks member to `dereference' and use the DEREF_*
enum values.
(describe_change): Merge the chgrp and chown switch statements.
Use xmalloc to form the `user:group' string.
(change_file_owner): Record (and later, use) is_symlink and is_directory
from the lstat stats, in order to control whether we operate on symlinks
and whether (with -R) we traverse symlinks to directories.
When dereferencing, use open/fchown (rather than chown) on symlinks.
Diffstat (limited to 'lib/rmdir.c')
0 files changed, 0 insertions, 0 deletions