diff options
| author | Antony Dovgal <tony2001@php.net> | 2007-05-30 10:50:47 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2007-05-30 10:50:47 +0000 |
| commit | 794ceb7badee040619c2fd3cd0efeba89e8c60e3 (patch) | |
| tree | 1c807805067194af54592b75d79dfd46c3c7f5e7 /TSRM | |
| parent | b529617499de009443d6a276ab723a38d89b7cb0 (diff) | |
| download | php-git-794ceb7badee040619c2fd3cd0efeba89e8c60e3.tar.gz | |
MFH: fix lstat() function resolving symlinks
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 e21dc85d06..dc9c895adb 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -1009,7 +1009,7 @@ CWD_API int virtual_lstat(const char *path, struct stat *buf TSRMLS_DC) int retval; CWD_STATE_COPY(&new_state, &CWDG(cwd)); - if (virtual_file_ex(&new_state, path, NULL, CWD_REALPATH)) { + if (virtual_file_ex(&new_state, path, NULL, CWD_EXPAND)) { CWD_STATE_FREE(&new_state); return -1; } |
