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

This commit is contained in:
Pierre Joye 2010-09-26 20:46:54 +00:00
parent dc0736b3ed
commit a531b5f0d2

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