CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2008/12/24 13:57:21

Modified files:
        bin/ls         : ls.c 

Log message:
Kill a race condition which occurs when listing a directory containing
an empty dir non-recursively. By not setting FTS_SKIP on the empty
subdir, a next iteration of the fts_read loop recurses into the
subdir, which might not be empty any more.  Report by jacekm@,
troublespot identified by pedro@; ok pedro@ millert@

Reply via email to