From: Marcus Boerger Date: Fri, 9 Dec 2005 00:22:21 +0000 (+0000) Subject: - Revert piece of MFH that shows an inconsistency - actually we should fix X-Git-Tag: php-5.1.2RC1~157 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbeb8ae0d4034add520dcd9fa2c7ea32f28a8747;p=php - Revert piece of MFH that shows an inconsistency - actually we should fix this fread() issue. --- diff --git a/run-tests.php b/run-tests.php index ccf5bcd2cc..c10beea7a2 100755 --- a/run-tests.php +++ b/run-tests.php @@ -784,7 +784,7 @@ function system_with_timeout($commandline) return $data; } else if ($n > 0) { $line = fread($pipes[1], 8192); - if ($line === false) { + if (strlen($line) == 0) { /* EOF */ break; }