]>
Commit | Line | Data |
---|---|---|
e40e3b19 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.303 | |
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.2.303 (after 7.2.294) | |
11 | Problem: Can't build on MS-Windows. | |
12 | Solution: Add #ifdef around vim_settempdir(). (James Vega) | |
13 | Files: src/fileio.c | |
14 | ||
15 | ||
16 | *** ../vim-7.2.302/src/fileio.c 2009-11-17 17:13:03.000000000 +0100 | |
17 | --- src/fileio.c 2009-11-18 20:06:55.000000000 +0100 | |
18 | *************** | |
19 | *** 146,152 **** | |
20 | --- 146,154 ---- | |
21 | # endif | |
22 | #endif | |
23 | static int move_lines __ARGS((buf_T *frombuf, buf_T *tobuf)); | |
24 | + #ifdef TEMPDIRNAMES | |
25 | static void vim_settempdir __ARGS((char_u *tempdir)); | |
26 | + #endif | |
27 | #ifdef FEAT_AUTOCMD | |
28 | static char *e_auchangedbuf = N_("E812: Autocommands changed buffer or buffer name"); | |
29 | #endif | |
30 | *************** | |
31 | *** 6995,7000 **** | |
32 | --- 6997,7003 ---- | |
33 | } | |
34 | #endif | |
35 | ||
36 | + #ifdef TEMPDIRNAMES | |
37 | /* | |
38 | * Directory "tempdir" was created. Expand this name to a full path and put | |
39 | * it in "vim_tempdir". This avoids that using ":cd" would confuse us. | |
40 | *************** | |
41 | *** 7021,7026 **** | |
42 | --- 7024,7030 ---- | |
43 | vim_free(buf); | |
44 | } | |
45 | } | |
46 | + #endif | |
47 | ||
48 | /* | |
49 | * vim_tempname(): Return a unique name that can be used for a temp file. | |
50 | *** ../vim-7.2.302/src/version.c 2009-11-17 17:57:10.000000000 +0100 | |
51 | --- src/version.c 2009-11-18 20:07:58.000000000 +0100 | |
52 | *************** | |
53 | *** 683,684 **** | |
54 | --- 683,686 ---- | |
55 | { /* Add new patch number below this line */ | |
56 | + /**/ | |
57 | + 303, | |
58 | /**/ | |
59 | ||
60 | -- | |
61 | BEDEVERE: Why do you think she is a witch? | |
62 | SECOND VILLAGER: She turned me into a newt. | |
63 | BEDEVERE: A newt? | |
64 | SECOND VILLAGER: (After looking at himself for some time) I got better. | |
65 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
66 | ||
67 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
68 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
69 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
70 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |