cvs: php-src /ext/bz2 bz2.c

From: Date: Wed, 23 Feb 2005 18:48:51 +0000
Subject: cvs: php-src /ext/bz2 bz2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30553@lists.php.net to get a copy of this message
iliaa Wed Feb 23 13:48:51 2005 EDT Modified files: /php-src/ext/bz2 bz2.c Log: MFB_4_3: Fixed bug #29521 (compress.bzip2 returns error when used with http wrapper). http://cvs.php.net/diff.php/php-src/ext/bz2/bz2.c?r1=1.7&r2=1.8&ty=u Index: php-src/ext/bz2/bz2.c diff -u php-src/ext/bz2/bz2.c:1.7 php-src/ext/bz2/bz2.c:1.8 --- php-src/ext/bz2/bz2.c:1.7 Tue Jul 20 01:26:33 2004 +++ php-src/ext/bz2/bz2.c Wed Feb 23 13:48:49 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: bz2.c,v 1.7 2004/07/20 05:26:33 pollita Exp $ */ +/* $Id: bz2.c,v 1.8 2005/02/23 18:48:49 iliaa Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -185,7 +185,7 @@ 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;

« previous php.cvs (#30553) next »