edink Thu Dec 22 21:32:56 2005 EDT
Modified files:
/TSRM tsrm_virtual_cwd.c
Log:
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.75&r2=1.76&diff_format=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.75 TSRM/tsrm_virtual_cwd.c:1.76
--- TSRM/tsrm_virtual_cwd.c:1.75 Tue Dec 20 14:26:55 2005
+++ TSRM/tsrm_virtual_cwd.c Thu Dec 22 21:32:56 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_virtual_cwd.c,v 1.75 2005/12/20 14:26:55 iliaa Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.76 2005/12/22 21:32:56 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;
}
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|