summaryrefslogtreecommitdiff
path: root/tests/misc/basename
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-01-10 22:00:44 +0100
committerJim Meyering <jim@meyering.net>2007-01-10 22:00:44 +0100
commitb5f1873022d7abc93313df2dfd16d8aa58119916 (patch)
tree63ea596a2d40860cbf6211285e9a6891e2359010 /tests/misc/basename
parentdad7d86d57d2a6351ba1a395109760dce8977a91 (diff)
downloadcoreutils-b5f1873022d7abc93313df2dfd16d8aa58119916.tar.xz
Don't use fts_statp uninitialized for "chown -RLh --preserve-root ...".
* src/chown-core.c (FTSENT_IS_DIRECTORY): New macro. (change_file_owner): Perform the ROOT_DEV_INO_CHECK only for a directory. Non-directory entries lack fts_statp data when using the FTS_NOSTAT option.
Diffstat (limited to 'tests/misc/basename')
0 files changed, 0 insertions, 0 deletions