m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/m4/system_.h,v


From: Eric Blake
Subject: Changes to m4/m4/system_.h,v
Date: Wed, 28 Mar 2007 12:19:36 +0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]