summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2005-02-27 18:45:07 (GMT)
committerRasmus Lerdorf <rasmus@php.net>2005-02-27 18:45:07 (GMT)
commit86994c3357605008a1973c1681009a5770a656e7 (patch)
treea15501e25dbaeea92b5058f3d927042eb56a28c1 /TSRM
parent036767451740555cc6a7b31b32d0fc5cdb4a899a (diff)
downloadphp-86994c3357605008a1973c1681009a5770a656e7.tar.gz
Add a comment to remind me to have a look at this at some point.
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c
index caaa31f..a5ec310 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -420,7 +420,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
* but *does* have execute permissions */
if (IS_ABSOLUTE_PATH(path, path_length) || (state->cwd_length < 1)) {
if (use_realpath) {
- if (realpath(path, resolved_path)) {
+ if (realpath(path, resolved_path)) { /* Note: Not threadsafe on older *BSD's */
path = resolved_path;
path_length = strlen(path);
} else {