]> git.pld-linux.org Git - packages/php.git/blobdiff - php-zlib.patch
- rel 2; rebuild with apache 2.4
[packages/php.git] / php-zlib.patch
index 5f38092fd31e0303f97c8ee45e793194ffcf3dd1..1ee4b3043b2e807d240ea169f4f4fdf1baf3753f 100644 (file)
@@ -1,10 +1,11 @@
---- php/ext/zlib/zlib.c.orig   Wed Jul  2 12:30:43 2003
-+++ php/ext/zlib/zlib.c        Wed Jul  2 13:23:07 2003
-@@ -1055,6 +1055,11 @@
-       php_ob_set_internal_handler(php_gzip_output_handler, (uint)buffer_size, "zlib output compression", 0 TSRMLS_CC);
+diff -burN php-5.0.0b3/ext/zlib/zlib.c php-5.0.0b3-zlib/ext/zlib/zlib.c
+--- php-5.0.0b3/ext/zlib/zlib.c        2003-09-26 10:09:53.000000000 +0200
++++ php-5.0.0b3-zlib/ext/zlib/zlib.c   2003-12-27 00:40:53.000000000 +0100
+@@ -979,6 +979,11 @@
        if (ZLIBG(output_handler) && strlen(ZLIBG(output_handler))) {
                php_start_ob_buffer_named(ZLIBG(output_handler), 0, 1 TSRMLS_CC);
-+              if (sapi_add_header("Content-Encoding: gzip", sizeof("Content-Encoding: gzip") - 1, 1)!=FAILURE) {
++              if (sapi_add_header("Content-Encoding: gzip", sizeof("Content-Encoding: gzip") - 1        , 1)!=FAILURE) {
 +                      if (sapi_add_header("Vary: Accept-Encoding", sizeof("Vary: Accept-Encoding") - 1, 1)==FAILURE) {
 +                              SG(sapi_headers).send_default_content_type = 0;
 +                      }
This page took 0.03145 seconds and 4 git commands to generate.