diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-12-09 17:51:23 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-12-09 17:51:23 +0000 |
commit | 5ff0e8886635b0506cd5e1d010c68b84807bf643 (patch) | |
tree | d5c5ded45068d5585035c7e782e4b862c9dbe541 /ChangeLog | |
parent | 1782c40176449907029e072138d1760c9140b265 (diff) | |
download | coreutils-5ff0e8886635b0506cd5e1d010c68b84807bf643.tar.xz |
ls now exits with status 1 if minor problem, 2 on serious trouble.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -1,7 +1,23 @@ -2004-12-08 Paul Eggert <eggert@cs.ucla.edu> +2004-12-09 Paul Eggert <eggert@cs.ucla.edu> * Version 5.3.0. + * ls now exits with status 1 on minor problems, 2 if serious trouble. + * NEWS: Document this. + * src/ls.c (LS_MINOR_PROBLEM, LS_FAILURE): New constants. + All uses of EXIT_FAILURE replaced with LS_FAILURE, unless + specified below. + (main): Initialize exit failure to LS_FAILURE. + (print_dir, gobble_file, get_link_name, xstrcoll): + Set exit status to LS_MINOR_PROBLEM if the failure is minor. + (print_dir): Do not give up on entire directory merely because readdir + returns EOVERFLOW. + (usage): Explain exit status. + * tests/help-version: ls and variants now exit with status 2 + on serious trouble. + +2004-12-08 Paul Eggert <eggert@cs.ucla.edu> + * NEWS: Document new UTC+HH:MM date syntax, and put date changes together. |