summaryrefslogtreecommitdiff
path: root/old
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-24 02:26:21 +0000
committerJim Meyering <jim@meyering.net>1996-03-24 02:26:21 +0000
commite6fae6c23f242ea61ca4638c93d3c1aea6501f3f (patch)
tree14c3bdfb479a41889671ddc802cf7e9e8a81abb5 /old
parentadb160df0fbc82ce805faef216296d770e5325d0 (diff)
downloadcoreutils-e6fae6c23f242ea61ca4638c93d3c1aea6501f3f.tar.xz
[SORT_FAILURE]: New macro.
Be careful to exit with 1 only when -c is used and the input is not properly sorted. In all other cases, use SORT_FAILURE as required by POSIX. (main): Change some `error (1, ...' to use SORT_FAILURE. Upon successful termination, exit with EXIT_SUCCESS instead of `0'. Replace all uses of `2' (as exit code) with SORT_FAILURE.
Diffstat (limited to 'old')
0 files changed, 0 insertions, 0 deletions