Patch php54_dbcs_win_unc_1 for Directory function related Bug #61309
Patch version 2012-03-07 02:50 UTC
Return to Bug #61309 |
Download this patch
Patch Revisions:
Developer: ku@digitaldolphins.jp
Index: tsrm_virtual_cwd.c
===================================================================
--- tsrm_virtual_cwd.c (revision 323975)
+++ tsrm_virtual_cwd.c (working copy)
@@ -1247,7 +1247,7 @@
goto verify;
}
resolved_path[start] = toupper(resolved_path[start]);
- start++;
+ start += _mbsinc(&resolved_path[start]) - &resolved_path[start];
}
resolved_path[start++] = DEFAULT_SLASH;
while (!IS_SLASH(resolved_path[start])) {
@@ -1255,7 +1255,7 @@
goto verify;
}
resolved_path[start] = toupper(resolved_path[start]);
- start++;
+ start += _mbsinc(&resolved_path[start]) - &resolved_path[start];
}
resolved_path[start++] = DEFAULT_SLASH;
} else if (IS_ABSOLUTE_PATH(resolved_path, path_length)) {
|