]> granicus.if.org Git - php/commitdiff
Add a comment to remind me to have a look at this at some point.
authorRasmus Lerdorf <rasmus@php.net>
Sun, 27 Feb 2005 18:45:07 +0000 (18:45 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sun, 27 Feb 2005 18:45:07 +0000 (18:45 +0000)
TSRM/tsrm_virtual_cwd.c

index caaa31f1fc65313395a4b59bbeb579a91241917b..a5ec310030ba36af94a0e88cce746d76f2fcec23 100644 (file)
@@ -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 {