[PHP-CVS] com php-src: Re-fix bug #55544: ext/zlib/php_zlib.h ext/zlib/tests/bug55544.phpt ext/zlib/zlib.c

2012-07-24 Thread Xinchen Hui
Commit:4c1e2bbd6f744b4048d4e0540ecc5dbe005494fe Author:Xinchen Hui larue...@php.net Tue, 24 Jul 2012 14:43:53 +0800 Parents: 2abc4c2f6fabfc81d12380170dc5ec7be9314a61 Branches: PHP-5.4 Link:

Re: [PHP-CVS] com php-src: Re-fix bug #55544: ext/zlib/php_zlib.h ext/zlib/tests/bug55544.phpt ext/zlib/zlib.c

2012-07-24 Thread Laruence
Hi: the fix is bad smell, I knew. maybe you can find a better fix :) ? the problem is explained in #55544: here is the confusion(assuming -d output_handler=ob_gzhandler -d zlib.output_compression=0) : 1. php.output_handler will change the ZLIGB(output_compression) before the zlib RINIT 2.