lstrojny Sun Dec 14 16:27:31 2008 UTC Modified files: /php-src/main/streams streams.c /php-src/ext/standard/tests/file stream_001.phpt Log: MFB: If a wrapper could not be found it is either a typo or a configuration issue. But in both cases it is critical enough to warn the user. [DOC] (?) http://cvs.php.net/viewvc.cgi/php-src/main/streams/streams.c?r1=1.175&r2=1.176&diff_format=u Index: php-src/main/streams/streams.c diff -u php-src/main/streams/streams.c:1.175 php-src/main/streams/streams.c:1.176 --- php-src/main/streams/streams.c:1.175 Mon Nov 24 15:35:03 2008 +++ php-src/main/streams/streams.c Sun Dec 14 16:27:30 2008 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streams.c,v 1.175 2008/11/24 15:35:03 dsp Exp $ */ +/* $Id: streams.c,v 1.176 2008/12/14 16:27:30 lstrojny Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -2104,8 +2104,8 @@ n = sizeof(wrapper_name) - 1; } PHP_STRLCPY(wrapper_name, protocol, sizeof(wrapper_name), n); - - php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Unable to find the wrapper \"%s\" - did you forget to enable it when you configured PHP?", wrapper_name); + + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find the wrapper \"%s\" - did you forget to enable it when you configured PHP?", wrapper_name); wrapperpp = NULL; protocol = NULL; http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/stream_001.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/file/stream_001.phpt diff -u php-src/ext/standard/tests/file/stream_001.phpt:1.3 php-src/ext/standard/tests/file/stream_001.phpt:1.4 --- php-src/ext/standard/tests/file/stream_001.phpt:1.3 Tue May 27 09:34:54 2008 +++ php-src/ext/standard/tests/file/stream_001.phpt Sun Dec 14 16:27:30 2008 @@ -13,7 +13,7 @@ --EXPECTF-- bool(true) -Notice: fopen(): Unable to find the wrapper "file" - did you forget to enable it when you configured PHP? in %s on line %d +Warning: fopen(): Unable to find the wrapper "file" - did you forget to enable it when you configured PHP? in %s on line %d Warning: fopen(): Plainfiles wrapper disabled in %s on line %d
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php