cvs: TSRM(PHP_5_1) / tsrm_virtual_cwd.c

From: Date: Thu, 22 Dec 2005 21:33:38 +0000
Subject: cvs: TSRM(PHP_5_1) / tsrm_virtual_cwd.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4482@lists.php.net to get a copy of this message
edink Thu Dec 22 21:33:38 2005 EDT Modified files: (Branch: PHP_5_1) /TSRM tsrm_virtual_cwd.c Log: MFH: Back out a portion of the previous patch which broke win32 file functions http://cvs.php.net/viewcvs.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.74.2.1&r2=1.74.2.2&diff_format=u Index: TSRM/tsrm_virtual_cwd.c diff -u TSRM/tsrm_virtual_cwd.c:1.74.2.1 TSRM/tsrm_virtual_cwd.c:1.74.2.2 --- TSRM/tsrm_virtual_cwd.c:1.74.2.1 Tue Dec 20 14:24:14 2005 +++ TSRM/tsrm_virtual_cwd.c Thu Dec 22 21:33:38 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tsrm_virtual_cwd.c,v 1.74.2.1 2005/12/20 14:24:14 iliaa Exp $ */ +/* $Id: tsrm_virtual_cwd.c,v 1.74.2.2 2005/12/22 21:33:38 edink Exp $ */ #include <sys/types.h> #include <sys/stat.h> @@ -480,7 +480,7 @@ { int new_path_length; - new_path_length = GetLongPathName(path, NULL, 0); + new_path_length = GetLongPathName(path, NULL, 0) + 1; if (new_path_length == 0) { return 1; }

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