In particular, if one simply does a non-recursive `ls` on a directory that is not accessible, there are some classes of errors that may cause it to fail that wouldn't be surfaced unless we do an fts_read() that will recurse into the inaccessible directory. Catch those kinds of errors here since we cannot expect to an FTS_ERR/FTS_DNR entry to follow up on them. PR: 287451 Reviewed by: kib Discusssed with: des (cherry picked from commit 7bf81e39d83087dc7f984077b5eed5a48df794d4) |
||
|---|---|---|
| .. | ||
| tests | ||
| cmp.c | ||
| extern.h | ||
| ls.1 | ||
| ls.c | ||
| ls.h | ||
| Makefile | ||
| Makefile.depend | ||
| Makefile.depend.options | ||
| print.c | ||
| util.c | ||