Problem: Windows: Fall back directory for creating temp file is wrong.
Solution: Use "." instead of empty string. (Hong Xu)
STRCPY(itmp, "");
if (GetTempPath(_MAX_PATH, szTempFile) == 0)
- szTempFile[0] = NUL; /* GetTempPath() failed, use current dir */
+ {
+ szTempFile[0] = '.'; /* GetTempPath() failed, use current dir */
+ szTempFile[1] = NUL;
+ }
strcpy(buf4, "VIM");
buf4[2] = extra_char; /* make it "VIa", "VIb", etc. */
if (GetTempFileName(szTempFile, buf4, 0, itmp) == 0)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 113,
/**/
112,
/**/