cvs: TSRM / tsrm_virtual_cwd.c

From: Date: Sat, 05 Aug 2006 13:17:32 +0000
Subject: cvs: TSRM / tsrm_virtual_cwd.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5167@lists.php.net to get a copy of this message
tony2001 Sat Aug 5 13:17:32 2006 UTC Modified files: /TSRM tsrm_virtual_cwd.c Log: yet another appempt to fix Windows bug thanks Rob for the patch http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.84&r2=1.85&diff_format=u Index: TSRM/tsrm_virtual_cwd.c diff -u TSRM/tsrm_virtual_cwd.c:1.84 TSRM/tsrm_virtual_cwd.c:1.85 --- TSRM/tsrm_virtual_cwd.c:1.84 Fri Aug 4 20:54:44 2006 +++ TSRM/tsrm_virtual_cwd.c Sat Aug 5 13:17:32 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tsrm_virtual_cwd.c,v 1.84 2006/08/04 20:54:44 tony2001 Exp $ */ +/* $Id: tsrm_virtual_cwd.c,v 1.85 2006/08/05 13:17:32 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);

« previous php.zend-engine.cvs (#5167) next »