com php-src: fix condition: ext/phar/tar.c

From: Date: Fri, 19 Sep 2014 09:42:44 +0000
Subject: com php-src: fix condition: ext/phar/tar.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81752@lists.php.net to get a copy of this message
Commit: 9b7d255cd978a516fe83f853aa0d10f96c654479 Author: Anatol Belski <ab@php.net> Fri, 19 Sep 2014 11:42:44 +0200 Parents: bf7203e1e02f1313a3fd8beb3bbdb102a77f1388 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9b7d255cd978a516fe83f853aa0d10f96c654479 Log: fix condition Changed paths: M ext/phar/tar.c Diff: diff --git a/ext/phar/tar.c b/ext/phar/tar.c index 985abd1..76862f7 100644 --- a/ext/phar/tar.c +++ b/ext/phar/tar.c @@ -570,7 +570,7 @@ bail: phar_destroy_phar_data(myphar TSRMLS_CC); return FAILURE; } - } while (read != 0); + } while (!php_stream_eof(fp)); if (zend_hash_str_exists(&(myphar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1)) { myphar->is_data = 0;

« previous php.cvs (#81752) next »