dmitry Thu Nov 8 13:29:25 2007 UTC Added files: (Branch: PHP_5_3) /php-src/ext/standard/tests/file bug43216.phpt
Modified files: /php-src/ext/standard streamsfuncs.c Log: Fixed bug #43216 (stream_is_local() returns false on "file://") http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.58.2.6.2.15.2.4&r2=1.58.2.6.2.15.2.5&diff_format=u Index: php-src/ext/standard/streamsfuncs.c diff -u php-src/ext/standard/streamsfuncs.c:1.58.2.6.2.15.2.4 php-src/ext/standard/streamsfuncs.c:1.58.2.6.2.15.2.5 --- php-src/ext/standard/streamsfuncs.c:1.58.2.6.2.15.2.4 Wed Oct 10 12:58:41 2007 +++ php-src/ext/standard/streamsfuncs.c Thu Nov 8 13:29:25 2007 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streamsfuncs.c,v 1.58.2.6.2.15.2.4 2007/10/10 12:58:41 jani Exp $ */ +/* $Id: streamsfuncs.c,v 1.58.2.6.2.15.2.5 2007/11/08 13:29:25 dmitry Exp $ */ #include "php.h" #include "php_globals.h" @@ -1364,7 +1364,7 @@ wrapper = stream->wrapper; } else { convert_to_string_ex(&zstream); - wrapper = php_stream_locate_url_wrapper(Z_STRVAL_P(zstream), NULL, STREAM_LOCATE_WRAPPERS_ONLY TSRMLS_CC); + wrapper = php_stream_locate_url_wrapper(Z_STRVAL_P(zstream), NULL, 0 TSRMLS_CC); } if(!wrapper) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/bug43216.phpt?view=markup&rev=1.1 Index: php-src/ext/standard/tests/file/bug43216.phpt +++ php-src/ext/standard/tests/file/bug43216.phpt -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php