summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-07-27 11:57:44 +0000
committerPierre Joye <pajoye@php.net>2011-07-27 11:57:44 +0000
commitbbd6fe70118589e7957c83482f4b10d940ae5fd6 (patch)
tree54b8034a3dc438af06d31443eeea0e35e78dc735 /TSRM
parent11e4f1e39ae66d5869a2d58e493ab9cbbd6e12ff (diff)
downloadphp-git-bbd6fe70118589e7957c83482f4b10d940ae5fd6.tar.gz
- do not resolve the link if all we want is to open that file
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 0889ea664a..5330c31477 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -1453,7 +1453,7 @@ CWD_API FILE *virtual_fopen(const char *path, const char *mode TSRMLS_DC) /* {{{
}
CWD_STATE_COPY(&new_state, &CWDG(cwd));
- if (virtual_file_ex(&new_state, path, NULL, CWD_FILEPATH TSRMLS_CC)) {
+ if (virtual_file_ex(&new_state, path, NULL, CWD_EXPAND TSRMLS_CC)) {
CWD_STATE_FREE(&new_state);
return NULL;
}