cvs: TSRM / tsrm_virtual_cwd.c
| From: | Antony Dovgal | Date: | Wed, 30 May 2007 10:50:45 +0000 |
| Subject: | cvs: TSRM / tsrm_virtual_cwd.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5825@lists.php.net to get a copy of this message | ||
tony2001 Wed May 30 10:50:45 2007 UTC
Modified files:
/TSRM tsrm_virtual_cwd.c
Log:
fix lstat() function resolving symlinks
patch by Scott MacVicar
http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.108&r2=1.109&diff_format=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.108 TSRM/tsrm_virtual_cwd.c:1.109
--- TSRM/tsrm_virtual_cwd.c:1.108 Mon May 28 23:52:13 2007
+++ TSRM/tsrm_virtual_cwd.c Wed May 30 10:50:45 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_virtual_cwd.c,v 1.108 2007/05/28 23:52:13 iliaa Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.109 2007/05/30 10:50:45 tony2001 Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@@ -1009,7 +1009,7 @@
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;
}