CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 07/03/28 12:19:35
Index: m4/system_.h =================================================================== RCS file: /sources/m4/m4/m4/system_.h,v retrieving revision 1.19 retrieving revision 1.20 diff -u -b -r1.19 -r1.20 --- m4/system_.h 25 Feb 2007 15:53:39 -0000 1.19 +++ m4/system_.h 28 Mar 2007 12:19:35 -0000 1.20 @@ -55,8 +55,13 @@ #ifndef EXIT_SUCCESS # define EXIT_SUCCESS 0 #endif +/* Tandem/NSK and other platforms that define EXIT_FAILURE as -1 interfere + with proper operation of xargs. */ #ifndef EXIT_FAILURE # define EXIT_FAILURE 1 +#elif EXIT_FAILURE != 1 +# undef EXIT_FAILURE +# define EXIT_FAILURE 1 #endif /* In addition to EXIT_SUCCESS and EXIT_FAILURE, m4 can fail with version
