svn: /php/php-src/ branches/PHP_5_3/ext/phar/phar.c branches/PHP_5_4/ext/phar/phar.c trunk/ext/phar/phar.c

From: Date: Sun, 20 Nov 2011 10:10:43 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/ext/phar/phar.c branches/PHP_5_4/ext/phar/phar.c trunk/ext/phar/phar.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-67061@lists.php.net to get a copy of this message
pajoye Sun, 20 Nov 2011 10:10:43 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=319576 Log: - restore correct window_size Changed paths: U php/php-src/branches/PHP_5_3/ext/phar/phar.c U php/php-src/branches/PHP_5_4/ext/phar/phar.c U php/php-src/trunk/ext/phar/phar.c Modified: php/php-src/branches/PHP_5_3/ext/phar/phar.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/phar/phar.c 2011-11-20 09:25:57 UTC (rev 319575) +++ php/php-src/branches/PHP_5_3/ext/phar/phar.c 2011-11-20 10:10:43 UTC (rev 319576) @@ -1570,7 +1570,7 @@ const char gz_magic[] = "\x1f\x8b\x08"; const char bz_magic[] = "BZh"; char *pos, test = '\0'; - const int window_size = 1024 + sizeof(token); + const int window_size = 1024; char buffer[1024 + sizeof(token)]; /* a 1024 byte window + the size of the halt_compiler token (moving window) */ const long readsize = sizeof(buffer) - sizeof(token); const long tokenlen = sizeof(token) - 1; Modified: php/php-src/branches/PHP_5_4/ext/phar/phar.c =================================================================== --- php/php-src/branches/PHP_5_4/ext/phar/phar.c 2011-11-20 09:25:57 UTC (rev 319575) +++ php/php-src/branches/PHP_5_4/ext/phar/phar.c 2011-11-20 10:10:43 UTC (rev 319576) @@ -1570,7 +1570,7 @@ const char gz_magic[] = "\x1f\x8b\x08"; const char bz_magic[] = "BZh"; char *pos, test = '\0'; - const int window_size = 1024 + sizeof(token); + const int window_size = 1024; char buffer[1024 + sizeof(token)]; /* a 1024 byte window + the size of the halt_compiler token (moving window) */ const long readsize = sizeof(buffer) - sizeof(token); const long tokenlen = sizeof(token) - 1; Modified: php/php-src/trunk/ext/phar/phar.c =================================================================== --- php/php-src/trunk/ext/phar/phar.c 2011-11-20 09:25:57 UTC (rev 319575) +++ php/php-src/trunk/ext/phar/phar.c 2011-11-20 10:10:43 UTC (rev 319576) @@ -1570,7 +1570,7 @@ const char gz_magic[] = "\x1f\x8b\x08"; const char bz_magic[] = "BZh"; char *pos, test = '\0'; - const int window_size = 1024 + sizeof(token); + const int window_size = 1024; char buffer[1024 + sizeof(token)]; /* a 1024 byte window + the size of the halt_compiler token (moving window) */ const long readsize = sizeof(buffer) - sizeof(token); const long tokenlen = sizeof(token) - 1;

« previous php.cvs (#67061) next »