Changeset View
Changeset View
Standalone View
Standalone View
lang/php72/files/patch-ext_zlib_zlib.c
- This file was moved from archivers/php72-zlib/files/patch-zlib.c.
--- zlib.c.orig 2016-06-21 19:57:08 UTC | --- ext/zlib/zlib.c.orig 2018-07-17 05:35:47 UTC | ||||
+++ zlib.c | +++ ext/zlib/zlib.c | ||||
@@ -1480,6 +1480,7 @@ static PHP_MSHUTDOWN_FUNCTION(zlib) | @@ -1562,6 +1562,7 @@ static PHP_MSHUTDOWN_FUNCTION(zlib) | ||||
/* {{{ PHP_RINIT_FUNCTION */ | /* {{{ PHP_RINIT_FUNCTION */ | ||||
static PHP_RINIT_FUNCTION(zlib) | static PHP_RINIT_FUNCTION(zlib) | ||||
{ | { | ||||
+ ZLIBG(output_compression) = 0; | + ZLIBG(output_compression) = 0; | ||||
ZLIBG(compression_coding) = 0; | ZLIBG(compression_coding) = 0; | ||||
if (!ZLIBG(handler_registered)) { | if (!ZLIBG(handler_registered)) { | ||||
ZLIBG(output_compression) = ZLIBG(output_compression_default); | ZLIBG(output_compression) = ZLIBG(output_compression_default); |