summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 caaa31f1fc..a5ec310030 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 {