]>
Commit | Line | Data |
---|---|---|
57d93a78 ER |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.113 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.113 | |
11 | Problem: Windows: Fall back directory for creating temp file is wrong. | |
12 | Solution: Use "." instead of empty string. (Hong Xu) | |
13 | Files: src/fileio.c | |
14 | ||
15 | ||
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 | |
18 | *************** | |
19 | *** 7459,7465 **** | |
20 | ||
21 | STRCPY(itmp, ""); | |
22 | if (GetTempPath(_MAX_PATH, szTempFile) == 0) | |
23 | ! szTempFile[0] = NUL; /* GetTempPath() failed, use current dir */ | |
24 | strcpy(buf4, "VIM"); | |
25 | buf4[2] = extra_char; /* make it "VIa", "VIb", etc. */ | |
26 | if (GetTempFileName(szTempFile, buf4, 0, itmp) == 0) | |
27 | --- 7459,7468 ---- | |
28 | ||
29 | STRCPY(itmp, ""); | |
30 | if (GetTempPath(_MAX_PATH, szTempFile) == 0) | |
31 | ! { | |
32 | ! szTempFile[0] = '.'; /* GetTempPath() failed, use current dir */ | |
33 | ! szTempFile[1] = NUL; | |
34 | ! } | |
35 | strcpy(buf4, "VIM"); | |
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 | |
40 | *************** | |
41 | *** 716,717 **** | |
42 | --- 716,719 ---- | |
43 | { /* Add new patch number below this line */ | |
44 | + /**/ | |
45 | + 113, | |
46 | /**/ | |
47 | ||
48 | -- | |
49 | 'Psychologist' -- Someone who looks at everyone else when | |
50 | an attractive woman enters the room. | |
51 | ||
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 /// |