summaryrefslogtreecommitdiff
path: root/lib/ref-del.sin
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-15 13:24:47 +0000
committerJim Meyering <jim@meyering.net>2000-12-15 13:24:47 +0000
commit9724aab7a65d8831d3322b1ed196b627b4b006ba (patch)
treeee3df748f885bfbb7a2d7ab93e9f36541dbaaee4 /lib/ref-del.sin
parentb6ca14a123d26e810d4a329076841e467bb6e756 (diff)
downloadcoreutils-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/ref-del.sin')
0 files changed, 0 insertions, 0 deletions