mbeccati Sun Mar 29 16:43:47 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/pcntl/tests 002.phpt
Log:
MFH:
- 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.1.2.7&r2=1.1.2.8&diff_format=u
Index: php-src/ext/pcntl/tests/002.phpt
diff -u php-src/ext/pcntl/tests/002.phpt:1.1.2.7
php-src/ext/pcntl/tests/002.phpt:1.1.2.8
--- php-src/ext/pcntl/tests/002.phpt:1.1.2.7 Wed Mar 25 23:34:08 2009
+++ php-src/ext/pcntl/tests/002.phpt Sun Mar 29 16:43:47 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