Commit 09c479ebb512014ad2ffdd1a71efe37276475663

Jim Meyering 2007-07-30T12:16:34

* 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