mbeccati                Sun Mar 29 16:42:49 2009 UTC

  Modified files:              
    /php-src/ext/pcntl/tests    002.phpt 
  Log:
  - Fixed pcntl test for platforms not accepting a very large timeout in 
sigtimedwait()
  # It isn't really necessary for the child to wait for PHP_INT_MAX seconds
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pcntl/tests/002.phpt?r1=1.6&r2=1.7&diff_format=u
Index: php-src/ext/pcntl/tests/002.phpt
diff -u php-src/ext/pcntl/tests/002.phpt:1.6 
php-src/ext/pcntl/tests/002.phpt:1.7
--- php-src/ext/pcntl/tests/002.phpt:1.6        Wed Mar 25 23:33:36 2009
+++ php-src/ext/pcntl/tests/002.phpt    Sun Mar 29 16:42:49 2009
@@ -68,7 +68,7 @@
        var_dump(pcntl_sigtimedwait(array(SIGTERM), $signo, PHP_INT_MAX, 
PHP_INT_MAX));
 } else {
        $siginfo = NULL;
-       pcntl_sigtimedwait(array(SIGINT), $siginfo, PHP_INT_MAX, 999999999);
+       pcntl_sigtimedwait(array(SIGINT), $siginfo, 3600, 0);
        exit;
 }
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to