For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > August 2006 > cvs: TSRM(PHP_5_2) / tsrm_virtual_cwd.c









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: TSRM(PHP_5_2) / tsrm_virtual_cwd.c
Antony Dovgal

2006-08-05, 6:56 pm

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/...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);
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com