Browse Source

- fix bug #52926, zlib fopen wrapper does not use the context

pull/12/head
Pierre Joye 16 years ago
parent
commit
4839387edd
  1. 1
      NEWS
  2. 2
      ext/zlib/zlib_fopen_wrapper.c

1
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)

2
ext/zlib/zlib_fopen_wrapper.c

@ -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;

Loading…
Cancel
Save