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;
                        }
                }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to