cvs: php-src /ext/pcntl/tests 002.phpt

From: Date: Sun, 29 Mar 2009 16:42:49 +0000
Subject: cvs: php-src /ext/pcntl/tests 002.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-56786@lists.php.net to get a copy of this message
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; }

« previous php.cvs (#56786) next »