pollita Sun Nov 23 12:35:01 2003 EDT
Modified files:
/php-src/main/streams streams.c
Log:
Fix for file:// wrapper parsing.
(Cristiano Duarte <[EMAIL PROTECTED]>)
Index: php-src/main/streams/streams.c
diff -u php-src/main/streams/streams.c:1.39 php-src/main/streams/streams.c:1.40
--- php-src/main/streams/streams.c:1.39 Mon Nov 3 09:12:46 2003
+++ php-src/main/streams/streams.c Sun Nov 23 12:35:00 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streams.c,v 1.39 2003/11/03 14:12:46 derick Exp $ */
+/* $Id: streams.c,v 1.40 2003/11/23 17:35:00 pollita Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -1433,7 +1433,7 @@
#ifdef PHP_WIN32
if (*(*path_for_open + 1) != ':')
#endif
- *path_for_open--;
+ (*path_for_open)--;
}
/* fall back on regular file access */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php