diff options
author | Jim Meyering <jim@meyering.net> | 2006-10-20 23:01:59 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-10-20 23:01:59 +0000 |
commit | a75684d6ea835d6c5c92e494dd29cf3c65e6cb9c (patch) | |
tree | bdb022a3324201037ed765f8a4191914c9f188f6 /ChangeLog | |
parent | 86719b3cd8ac24b4e0c673c4e5d9b16da06721e6 (diff) | |
download | coreutils-a75684d6ea835d6c5c92e494dd29cf3c65e6cb9c.tar.xz |
Enable an fts optimization (call lstat only for directories,
on some file system types) also with the --preserve-root option
of chown or chgrp.
* src/chown-core.c (change_file_owner): Compare fts_statp-based
dev/ino against root dev/ino only for directories.
(chown_files): Don't let the root_dev_ino setting influence whether
we use FTS_NOSTAT: fts always sets *fts_statp for a directory.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2006-10-21 Jim Meyering <jim@meyering.net> + + Enable an fts optimization (call lstat only for directories, + on some file system types) also with the --preserve-root option + of chown or chgrp. + * src/chown-core.c (change_file_owner): Compare fts_statp-based + dev/ino against root dev/ino only for directories. + (chown_files): Don't let the root_dev_ino setting influence whether + we use FTS_NOSTAT: fts always sets *fts_statp for a directory. + 2006-10-20 Jim Meyering <jim@meyering.net> * src/od.c (usage): Change description of default to use "-w16", |