diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-02-23 18:48:49 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-02-23 18:48:49 +0000 |
commit | 5ffe5a485d0e85d6460d3870e9ebfb171823c9d7 (patch) | |
tree | fba4a121b86b1f23e545cc25c2d6777f487cb1ce /ext/bz2 | |
parent | 0ef1f50383f6a4db61a4aab0f2f2cff319b5643b (diff) | |
download | php-git-5ffe5a485d0e85d6460d3870e9ebfb171823c9d7.tar.gz |
MFB_4_3: Fixed bug #29521 (compress.bzip2 returns error when used with http
wrapper).
Diffstat (limited to 'ext/bz2')
-rw-r--r-- | ext/bz2/bz2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c index e51c993b5a..4718220205 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -185,7 +185,7 @@ PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, if (bz_file == NULL) { /* that didn't work, so try and get something from the network/wrapper */ - stream = php_stream_open_wrapper(path, mode, options, opened_path); + stream = php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST, opened_path); if (stream) { int fd; |