diff options
author | Pierre Joye <pajoye@php.net> | 2011-07-27 11:57:44 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2011-07-27 11:57:44 +0000 |
commit | bbd6fe70118589e7957c83482f4b10d940ae5fd6 (patch) | |
tree | 54b8034a3dc438af06d31443eeea0e35e78dc735 /TSRM | |
parent | 11e4f1e39ae66d5869a2d58e493ab9cbbd6e12ff (diff) | |
download | php-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.c | 2 |
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; } |