mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
- fix bug #52926, zlib fopen wrapper does not use the context
This commit is contained in:
parent
dc0736b3ed
commit
a531b5f0d2
@ -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…
Reference in New Issue
Block a user