]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(LS_MINOR_PROBLEM, LS_FAILURE): New constants.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 9 Dec 2004 17:48:57 +0000 (17:48 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 9 Dec 2004 17:48:57 +0000 (17:48 +0000)
commit310ef64346e1e181d6d83bc158a0824ed14a929c
tree792a3b76bffee90a7f20d6251b632decaa5cb7e0
parent73eca3827eec0f9d9fb99f83c434bc606d0b0e45
(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.
src/ls.c