From: Edin Kadribasic Date: Thu, 22 Dec 2005 21:32:56 +0000 (+0000) Subject: Back out a portion of the previous patch which broke win32 file functions X-Git-Tag: RELEASE_1_0_4~263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89bf9c3906d6bea967b4e1ea1e0d809bb4555249;p=php Back out a portion of the previous patch which broke win32 file functions --- diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index cd2c6d2c5d..8955bd8234 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -480,7 +480,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func { 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; }