summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2004-12-02 00:44:07 (GMT)
committerStefan Esser <sesser@php.net>2004-12-02 00:44:07 (GMT)
commitb08147d46ae1254d56b2be0e2d4424dad12ebf1a (patch)
tree4b376046b10144a0868b5427c169dfa4d13408ed /TSRM
parent6076a4a66c78c71d3052b0e4871efcf7b1ba3b1f (diff)
downloadphp-b08147d46ae1254d56b2be0e2d4424dad12ebf1a.tar.gz
Partly reverted because of problems with some realpath() implementations
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c
index 9d40ded..969628c 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -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);