cvs: php4 /main streams.c
| From: | Moriyoshi Koizumi | Date: | Mon, 21 Oct 2002 01:33:31 +0000 |
| Subject: | cvs: php4 /main streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15079@lists.php.net to get a copy of this message | ||
moriyoshi Sun Oct 20 21:33:31 2002 EDT
Modified files:
/php4/main streams.c
Log:
MFH
Index: php4/main/streams.c
diff -u php4/main/streams.c:1.113 php4/main/streams.c:1.114
--- php4/main/streams.c:1.113 Sun Oct 20 16:44:10 2002
+++ php4/main/streams.c Sun Oct 20 21:33:31 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streams.c,v 1.113 2002/10/20 20:44:10 iliaa Exp $ */
+/* $Id: streams.c,v 1.114 2002/10/21 01:33:31 moriyoshi Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -1521,9 +1521,9 @@
if (*filename == '.' && (*(filename+1) == '/' || *(filename+1) ==
'.')) {
/* further checks, we could have ....... filenames */
ptr = filename + 1;
- if (ptr == '.') {
+ if (*ptr == '.') {
while (*(++ptr) == '.');
- if (ptr != '/') { /* not a relative path after all */
+ if (*ptr != '/') { /* not a relative path after all */
goto not_relative_path;
}
}