]> granicus.if.org Git - php/commitdiff
- fix bug #52926, zlib fopen wrapper does not use the context
authorPierre Joye <pajoye@php.net>
Sun, 26 Sep 2010 20:46:54 +0000 (20:46 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 26 Sep 2010 20:46:54 +0000 (20:46 +0000)
NEWS
ext/zlib/zlib_fopen_wrapper.c

diff --git a/NEWS b/NEWS
index f552236b3aefdc4e21fa48d774199e1ce30f76e1..d902359f1ebf7bc71d0cd0b8a269ef5a0408774c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,7 @@
 - Fixed possible crash in mssql_fetch_batch(). (Kalle)
 - Fixed inconsistent backlog default value (-1) in FPM on many systems. (fat)
 
+- Fixed bug #52926 (zlib fopen wrapper does not use context). (Gustavo)
 - Fixed bug #52891 (Wrong data inserted with mysqli/mysqlnd when using
   mysqli_stmt_bind_param and value> PHP_INT_MAX). (Andrey)
 - Fixed bug #52849 (GNU MP invalid version match). (Adam)
index 8970c55a008d02828e0e2c59d8bd17311aea06db..c0f9c249d9031ce5577b89b5d45f4b8d31b8abb9 100644 (file)
@@ -128,7 +128,7 @@ php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mod
                path += 5;
        }
        
-       innerstream = php_stream_open_wrapper(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path);
+       innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context);
        
        if (innerstream) {
                int fd;