cvs: php-src /main/streams plain_wrapper.c
| From: | Shane Caraveo | Date: | Sun, 19 Oct 2003 21:19:54 +0000 |
| Subject: | cvs: php-src /main/streams plain_wrapper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24176@lists.php.net to get a copy of this message | ||
shane Sun Oct 19 17:19:54 2003 EDT
Modified files:
/php-src/main/streams plain_wrapper.c
Log:
finish file uri support, this stuff was unecessary.
Index: php-src/main/streams/plain_wrapper.c
diff -u php-src/main/streams/plain_wrapper.c:1.26 php-src/main/streams/plain_wrapper.c:1.27
--- php-src/main/streams/plain_wrapper.c:1.26 Sun Oct 19 16:59:12 2003
+++ php-src/main/streams/plain_wrapper.c Sun Oct 19 17:19:54 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: plain_wrapper.c,v 1.26 2003/10/19 20:59:12 shane Exp $ */
+/* $Id: plain_wrapper.c,v 1.27 2003/10/19 21:19:54 shane Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -882,16 +882,6 @@
static php_stream *php_plain_files_stream_opener(php_stream_wrapper *wrapper, char *path, char
*mode,
int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
{
- char *filename = path;
- if (!strncasecmp(filename, "file:", sizeof("file:")-1)) {
- filename += 6;
- while (*(++filename)=='/');
-#ifdef PHP_WIN32
- if (*(filename + 1) != ':')
-#endif
- filename--;
- }
-
if ((options & USE_PATH) && PG(include_path) != NULL) {
return php_stream_fopen_with_path_rel(path, mode, PG(include_path), opened_path, options);
}