From: Remi Collet Date: Tue, 19 Nov 2013 11:41:58 +0000 (+0100) Subject: avoid doing a stream_select on a closed stream X-Git-Tag: php-5.4.23RC1~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25c08a839a261f3da77767934d8bed29f9831db3;p=php avoid doing a stream_select on a closed stream --- diff --git a/run-tests.php b/run-tests.php index 317f6077a3..25e480728f 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1088,6 +1088,7 @@ function system_with_timeout($commandline, $env = null, $stdin = null) fwrite($pipes[0], $stdin); } fclose($pipes[0]); + unset($pipes[0]); $timeout = $leak_check ? 300 : (isset($env['TEST_TIMEOUT']) ? $env['TEST_TIMEOUT'] : 60);