Browse Source

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
experimental/5.3-FPM
Matteo Beccati 17 years ago
parent
commit
638af1ec91
  1. 2
      ext/pcntl/tests/002.phpt

2
ext/pcntl/tests/002.phpt

@ -68,7 +68,7 @@ if ($pid == -1) {
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;
}

Loading…
Cancel
Save