cvs: TSRM(PHP_5_2) / tsrm_virtual_cwd.c
| From: | Antony Dovgal | Date: | Sat, 05 Aug 2006 13:17:50 +0000 |
| Subject: | cvs: TSRM(PHP_5_2) / tsrm_virtual_cwd.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5168@lists.php.net to get a copy of this message | ||
tony2001 Sat Aug 5 13:17:50 2006 UTC
Modified files: (Branch: PHP_5_2)
/TSRM tsrm_virtual_cwd.c
Log:
MFH
http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.74.2.9.2.2&r2=1.74.2.9.2.3&diff_format=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.2 TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.3
--- TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.2 Fri Aug 4 20:55:00 2006
+++ TSRM/tsrm_virtual_cwd.c Sat Aug 5 13:17:50 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.2 2006/08/04 20:55:00 tony2001 Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.3 2006/08/05 13:17:50 tony2001 Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@@ -720,7 +720,9 @@
int ret;
CWD_STATE_COPY(&new_state, &CWDG(cwd));
- virtual_file_ex(&new_state, pathname, NULL, 1);
+ if (virtual_file_ex(&new_state, pathname, NULL, 1)) {
+ return -1;
+ }
#if defined(TSRM_WIN32)
ret = tsrm_win32_access(new_state.cwd, mode);