From: Jim Meyering Date: Sat, 14 Oct 2006 12:12:44 +0000 (+0000) Subject: * src/system.h (EXIT_FAILURE, EXIT_SUCCESS): Remove definitions. X-Git-Tag: COREUTILS-6_4~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1491ae9ceba0a4a8eaecfaaf27889bb4bd31d6f1;p=thirdparty%2Fcoreutils.git * 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". --- diff --git a/ChangeLog b/ChangeLog index 0e74305551..4d08665601 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-10-14 Jim Meyering + * 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". + * src/cksum.c (uint_fast32_t): Don't define. Instead, include . diff --git a/src/system.h b/src/system.h index 29d170fd33..87a379e22f 100644 --- a/src/system.h +++ b/src/system.h @@ -117,18 +117,7 @@ you must include before including this file #include #include - -/* 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 statuses for programs like 'env' that exec other programs. EXIT_FAILURE might not be 1, so use EXIT_FAIL in such programs. */