1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Windows: Fall back directory for creating temp file is wrong.
12 Solution: Use "." instead of empty string. (Hong Xu)
16 *** ../vim-7.3.112/src/fileio.c 2011-01-17 20:08:03.000000000 +0100
17 --- src/fileio.c 2011-02-06 13:14:25.000000000 +0100
22 if (GetTempPath(_MAX_PATH, szTempFile) == 0)
23 ! szTempFile[0] = NUL; /* GetTempPath() failed, use current dir */
25 buf4[2] = extra_char; /* make it "VIa", "VIb", etc. */
26 if (GetTempFileName(szTempFile, buf4, 0, itmp) == 0)
30 if (GetTempPath(_MAX_PATH, szTempFile) == 0)
32 ! szTempFile[0] = '.'; /* GetTempPath() failed, use current dir */
33 ! szTempFile[1] = NUL;
36 buf4[2] = extra_char; /* make it "VIa", "VIb", etc. */
37 if (GetTempFileName(szTempFile, buf4, 0, itmp) == 0)
38 *** ../vim-7.3.112/src/version.c 2011-02-01 21:54:56.000000000 +0100
39 --- src/version.c 2011-02-09 14:46:12.000000000 +0100
43 { /* Add new patch number below this line */
49 'Psychologist' -- Someone who looks at everyone else when
50 an attractive woman enters the room.
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\ an exciting new programming language -- http://www.Zimbu.org ///
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///