From bf01f6afee08a52ab0bf62d453480cf2222178e9 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 30 May 2007 10:50:45 +0000 Subject: [PATCH] fix lstat() function resolving symlinks patch by Scott MacVicar --- TSRM/tsrm_virtual_cwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index e4e120f517..859e044198 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; } -- 2.50.1