Fix a "Kernel has child processes" warning even when it doesn't. master
authorRocco Caputo <rcaputo@cpan.org>
Sun, 6 Oct 2013 20:58:28 +0000 (16:58 -0400)
committerRocco Caputo <rcaputo@cpan.org>
Sun, 6 Oct 2013 20:58:28 +0000 (16:58 -0400)
commitd3cb2fbfb53799ab22754b900fc47af703758910
treea4ae568055f67066c5b30709ca3a45e3c8735f2e
parent52487325a316b2bcc945f0a1f344556b58760ef3
Fix a "Kernel has child processes" warning even when it doesn't.

Michel Schrameck reported that the above warning was coming from a
very simple, obviously not fork()ing test program.  I was able to
reproduce the problem with the test case when USE_SIGCHLD was turned
off.  This fix changes the way first polling of SIGCHLD happens.  It
passes all known tests, but it may negatively affect older programs.
Please report any problems.
lib/POE/Resource/Signals.pm