From a75684d6ea835d6c5c92e494dd29cf3c65e6cb9c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 20 Oct 2006 23:01:59 +0000 Subject: 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. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index d4c23e021..fee765444 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2006-10-21 Jim Meyering + + 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 * src/od.c (usage): Change description of default to use "-w16", -- cgit v1.2.3-70-g09d2