* lib/fts.c (fts_read): Upon failure to chdir into a subdirectory,
authorJim Meyering <jim@meyering.net>
Mon, 30 Jul 2007 12:16:34 +0000 (12:16 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 30 Jul 2007 12:16:34 +0000 (12:16 +0000)
commit09c479ebb512014ad2ffdd1a71efe37276475663
treeb8b194cfcb1d9406721b19cce0ca9a193c9663fe
parent5e942637dc329a612277f45207a7b1aadc46a9b3
* lib/fts.c (fts_read): Upon failure to chdir into a subdirectory,
set fts_info to FTS_DNR, not to FTS_ERR, so that the caller knows
it has valid stat data.  This bug would cause du not to count the
sizes of inaccessible directories.
Patch by Jose Maria Plans, reported in http://bugzilla.redhat.com/250077
ChangeLog
lib/fts.c