diff options
Diffstat (limited to 'external/hyphen/hyphen-c99.patch.0')
-rw-r--r-- | external/hyphen/hyphen-c99.patch.0 | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/external/hyphen/hyphen-c99.patch.0 b/external/hyphen/hyphen-c99.patch.0 deleted file mode 100644 index 83930cb09e00..000000000000 --- a/external/hyphen/hyphen-c99.patch.0 +++ /dev/null @@ -1,13 +0,0 @@ ---- hyphen.c -+++ hyphen.c -@@ -382,8 +382,9 @@ - if (strncmp(path, WIN32_LONG_PATH_PREFIX, 4) == 0) { - int len = MultiByteToWideChar(CP_UTF8, 0, path, -1, NULL, 0); - wchar_t *buff = (wchar_t *) malloc(len * sizeof(wchar_t)); -+ FILE * f; - MultiByteToWideChar(CP_UTF8, 0, path, -1, buff, len); -- FILE * f = _wfopen(buff, (strcmp(mode, "r") == 0) ? L"r" : L"rb"); -+ f = _wfopen(buff, (strcmp(mode, "r") == 0) ? L"r" : L"rb"); - free(buff); - return f; - } |