[Bps-public-commit] r12116 - in Test-HTTP-Server-Simple: .

alexmv at bestpractical.com alexmv at bestpractical.com
Tue May 6 17:09:37 EDT 2008


Author: alexmv
Date: Tue May  6 17:09:35 2008
New Revision: 12116

Modified:
   Test-HTTP-Server-Simple/   (props changed)
   Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm

Log:
 r31316 at kohr-ah:  chmrr | 2008-05-06 17:09:31 -0400
  * Better bulletproofing


Modified: Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm
==============================================================================
--- Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm	(original)
+++ Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm	Tue May  6 17:09:35 2008
@@ -90,6 +90,7 @@
                 my $pid;
                 @CHILD_PIDS = grep {$_ != $pid} @CHILD_PIDS
                   while $pid = wait and $pid > 0 and @CHILD_PIDS;
+                @CHILD_PIDS = () if $pid == -1;
             };
             alarm(0);
         }



More information about the Bps-public-commit mailing list