sniper Sun Nov 6 17:07:15 2005 EDT Modified files: /php-src/main SAPI.c Log: - Revert bad patch. This is wrong way to handle leak in "php -m" http://cvs.php.net/diff.php/php-src/main/SAPI.c?r1=1.206&r2=1.207&ty=u Index: php-src/main/SAPI.c diff -u php-src/main/SAPI.c:1.206 php-src/main/SAPI.c:1.207 --- php-src/main/SAPI.c:1.206 Wed Nov 2 09:27:00 2005 +++ php-src/main/SAPI.c Sun Nov 6 17:07:12 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: SAPI.c,v 1.206 2005/11/02 14:27:00 mike Exp $ */ +/* $Id: SAPI.c,v 1.207 2005/11/06 22:07:12 sniper Exp $ */ #include <ctype.h> #include <sys/stat.h> @@ -769,7 +769,7 @@ /* Add output compression headers at this late stage in order to make it possible to switch it off inside the script. */ - if (EG(in_execution) && zend_ini_long("zlib.output_compression", sizeof("zlib.output_compression"), 0)) { + if (zend_ini_long("zlib.output_compression", sizeof("zlib.output_compression"), 0)) { zval nm_zlib_get_coding_type; zval *uf_result = NULL;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php