bug-gnulib
[Top][All Lists]
Advanced

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

Re: Force EXIT_FAILURE to 1


From: Jim Meyering
Subject: Re: Force EXIT_FAILURE to 1
Date: Fri, 09 Mar 2007 19:25:54 +0100

Eric Blake <address@hidden> wrote:
> Is this patch acceptable?  Most platforms already use 1 for EXIT_FAILURE.  It
> fixes what are otherwise false negatives in the M4 testsuite.  It also makes 
> it
> easier to use GNU applications with xargs (since POSIX requires xargs to 
> behave
> differently when apps exit with 255 as compared with any other value) - ie. I
> consider NSK's definition to be a bug.  stdlib_.h is currently built
> unconditionally, so I didn't have to modify the .m4 files.
>
> And I don't know why Matthew's posts seem to be dropped from bug-gnulib, but
> show up on m4-discuss:
> http://www.nabble.com/GNU-M4-1.4.8b-released-%28beta-release%29-
> tf3284454.html#a9397135
>
> 2007-03-09  Eric Blake  <address@hidden>
>
>       * lib/stdlib_.h (EXIT_FAILURE): GNU code expects this to be 1, in
>       spite of platforms like Tandem/NSK that define it to -1.

This if fine with me.
Coreutils had similar code that I removed not too long ago.




reply via email to

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