]> granicus.if.org Git - php/commitdiff
Partly reverted because of problems with some realpath() implementations
authorStefan Esser <sesser@php.net>
Thu, 2 Dec 2004 00:44:07 +0000 (00:44 +0000)
committerStefan Esser <sesser@php.net>
Thu, 2 Dec 2004 00:44:07 +0000 (00:44 +0000)
TSRM/tsrm_virtual_cwd.c

index 9d40dede1ba8400e0a076f2104e706698d87ad33..969628c4b800f8c02e0b110fc885433ccdbe7623 100644 (file)
@@ -424,7 +424,8 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
                                path = resolved_path;
                                path_length = strlen(path);
                        } else {
-                               return 1;
+                               /* disable for now
+                               return 1; */
                        }
                }
        } else { /* Concat current directory with relative path and then run realpath() on it */
@@ -450,8 +451,9 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
                                path = resolved_path;
                                path_length = strlen(path);
                        } else {
+                               /* disable for now 
                                free(tmp);
-                               return 1;
+                               return 1; */
                        }
                }
                free(tmp);