|
1 To: [email protected] |
|
2 Subject: Patch 7.2.379 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=UTF-8 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.379 |
|
11 Problem: 'eventignore' is set to an invalid value inside ":doau". (Antony |
|
12 Scriven) |
|
13 Solution: Don't include the leading comma when the option was empty. |
|
14 Files: src/fileio.c |
|
15 |
|
16 |
|
17 *** ../vim-7.2.378/src/fileio.c 2010-01-19 14:59:14.000000000 +0100 |
|
18 --- src/fileio.c 2010-03-01 21:01:04.000000000 +0100 |
|
19 *************** |
|
20 *** 7925,7931 **** |
|
21 new_ei = vim_strnsave(p_ei, (int)(STRLEN(p_ei) + STRLEN(what))); |
|
22 if (new_ei != NULL) |
|
23 { |
|
24 ! STRCAT(new_ei, what); |
|
25 set_string_option_direct((char_u *)"ei", -1, new_ei, |
|
26 OPT_FREE, SID_NONE); |
|
27 vim_free(new_ei); |
|
28 --- 7925,7934 ---- |
|
29 new_ei = vim_strnsave(p_ei, (int)(STRLEN(p_ei) + STRLEN(what))); |
|
30 if (new_ei != NULL) |
|
31 { |
|
32 ! if (*what == ',' && *p_ei == NUL) |
|
33 ! STRCPY(new_ei, what + 1); |
|
34 ! else |
|
35 ! STRCAT(new_ei, what); |
|
36 set_string_option_direct((char_u *)"ei", -1, new_ei, |
|
37 OPT_FREE, SID_NONE); |
|
38 vim_free(new_ei); |
|
39 *** ../vim-7.2.378/src/version.c 2010-03-02 12:37:01.000000000 +0100 |
|
40 --- src/version.c 2010-03-02 12:46:45.000000000 +0100 |
|
41 *************** |
|
42 *** 683,684 **** |
|
43 --- 683,686 ---- |
|
44 { /* Add new patch number below this line */ |
|
45 + /**/ |
|
46 + 379, |
|
47 /**/ |
|
48 |
|
49 -- |
|
50 Back up my hard drive? I can't find the reverse switch! |
|
51 |
|
52 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
53 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
54 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |