In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/fabb67aac748c1bf94bbc4a173a67dbd9a00b4df?hp=1cfccccd91dcb8384e07fecd6d80c2f1956492ac>

- Log -----------------------------------------------------------------
commit fabb67aac748c1bf94bbc4a173a67dbd9a00b4df
Author: Stepan Kasal <ska...@redhat.com>
Date:   Mon Nov 23 12:14:06 2009 +0100

    fix logic for a workaround in POSIX.xs
    
    There is the assignment "RETVAL = 0" to silence the compiler in case
    it incorrectly reports return of an undefined value.
    This assignment should be present whenever *any* of the symbols is
    not defined.  But the code was written so that the assignment was
    compiled only when *none* of the symbols was defined.
-----------------------------------------------------------------------

Summary of changes:
 ext/POSIX/POSIX.xs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index d30a752..7bdd633 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -887,8 +887,8 @@ WEXITSTATUS(status)
        POSIX::WSTOPSIG = 4
        POSIX::WTERMSIG = 5
     CODE:
-#if !(defined(WEXITSTATUS) || defined(WIFEXITED) || defined(WIFSIGNALED) \
-      || defined(WIFSTOPPED) || defined(WSTOPSIG) || defined (WTERMSIG))
+#if !defined(WEXITSTATUS) || !defined(WIFEXITED) || !defined(WIFSIGNALED) \
+      || !defined(WIFSTOPPED) || !defined(WSTOPSIG) || !defined(WTERMSIG)
         RETVAL = 0; /* Silence compilers that notice this, but don't realise
                       that not_here() can't return.  */
 #endif

--
Perl5 Master Repository

Reply via email to