diff options
author | Jim Meyering <jim@meyering.net> | 2006-10-14 12:12:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-10-14 12:12:44 +0000 |
commit | 1491ae9ceba0a4a8eaecfaaf27889bb4bd31d6f1 (patch) | |
tree | 78a1ded7772aa21fdba014b16610b1da5e270001 /src | |
parent | f3fbb64189991ad3ad1a9c5e5ff9a4b3b8609af9 (diff) | |
download | coreutils-1491ae9ceba0a4a8eaecfaaf27889bb4bd31d6f1.tar.xz |
* src/system.h (EXIT_FAILURE, EXIT_SUCCESS): Remove definitions.
Instead, include "exit.h". This hereby retires the work-around for
"Sony NEWS-OS Release 4.0C"'s bug due to "#define EXIT_FAILURE 0".
Diffstat (limited to 'src')
-rw-r--r-- | src/system.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/system.h b/src/system.h index 29d170fd3..87a379e22 100644 --- a/src/system.h +++ b/src/system.h @@ -117,18 +117,7 @@ you must include <sys/types.h> before including this file #include <stdbool.h> #include <stdlib.h> - -/* The following test is to work around the gross typo in - systems like Sony NEWS-OS Release 4.0C, whereby EXIT_FAILURE - is defined to 0, not 1. */ -#if !EXIT_FAILURE -# undef EXIT_FAILURE -# define EXIT_FAILURE 1 -#endif - -#ifndef EXIT_SUCCESS -# define EXIT_SUCCESS 0 -#endif +#include <exit.h> /* Exit statuses for programs like 'env' that exec other programs. EXIT_FAILURE might not be 1, so use EXIT_FAIL in such programs. */ |