summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-07-25 15:23:59 +0000
committerJim Meyering <jim@meyering.net>2006-07-25 15:23:59 +0000
commit3a208b14048121755eb01377f985372561a4b953 (patch)
tree4d8ca5fb2a8484f893b0943fe636fca4ae1aa0f7 /ChangeLog
parenta321dfb09d5bdf5a5b2bd91db42d0ea51b29972e (diff)
downloadcoreutils-3a208b14048121755eb01377f985372561a4b953.tar.xz
* src/ls.c (gobble_file): Make it so failure to stat a
non-command-line file provokes an exit status of 1, not 0. Say "cannot access" rather than "cannot stat". * tests/ls/stat-failed: New file/test, for the above. * tests/ls/Makefile.am (TESTS): Add stat-failed.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f5fda0a63..f95ec10fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-07-25 Jim Meyering <jim@meyering.net>
+ * src/ls.c (gobble_file): Make it so failure to stat a
+ non-command-line file provokes an exit status of 1, not 0.
+ Say "cannot access" rather than "cannot stat".
+ * tests/ls/stat-failed: New file/test, for the above.
+ * tests/ls/Makefile.am (TESTS): Add stat-failed.
+
* src/ls.c: Declare stat_failed to be "bool", not "int" everywhere.
* src/ls.c [enum filetype] (command_line): Remove member. Not needed.