This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix logic for a workaround in POSIX.xs
authorStepan Kasal <skasal@redhat.com>
Mon, 23 Nov 2009 11:14:06 +0000 (12:14 +0100)
committerRafael Garcia-Suarez <rgs@consttype.org>
Mon, 23 Nov 2009 11:14:06 +0000 (12:14 +0100)
commitfabb67aac748c1bf94bbc4a173a67dbd9a00b4df
tree611e1cca1d86de2018bfcaf7e506a41622478b2a
parent1cfccccd91dcb8384e07fecd6d80c2f1956492ac
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.
ext/POSIX/POSIX.xs