iliaa           Wed Feb 23 13:48:57 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /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.6&r2=1.6.2.1&ty=u
Index: php-src/ext/bz2/bz2.c
diff -u php-src/ext/bz2/bz2.c:1.6 php-src/ext/bz2/bz2.c:1.6.2.1
--- php-src/ext/bz2/bz2.c:1.6   Thu Jan  8 03:14:18 2004
+++ php-src/ext/bz2/bz2.c       Wed Feb 23 13:48:57 2005
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
  
-/* $Id: bz2.c,v 1.6 2004/01/08 08:14:18 andi Exp $ */
+/* $Id: bz2.c,v 1.6.2.1 2005/02/23 18:48:57 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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to