]>
Commit | Line | Data |
---|---|---|
f3c378e8 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.113 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.0.113 | |
11 | Problem: Using CTRL-L in Insert completion when there is no current match | |
12 | may cause a crash. (Yukihiro Nakadaira) | |
13 | Solution: Check for compl_leader to be NULL | |
14 | Files: src/edit.c | |
15 | ||
16 | ||
17 | *** ../vim-7.0.112/src/edit.c Thu Sep 14 11:07:08 2006 | |
18 | --- src/edit.c Tue Oct 3 14:57:47 2006 | |
19 | *************** | |
20 | *** 3206,3212 **** | |
21 | for (cp = compl_shown_match->cp_next; cp != NULL | |
22 | && cp != compl_first_match; cp = cp->cp_next) | |
23 | { | |
24 | ! if (ins_compl_equal(cp, compl_leader, | |
25 | (int)STRLEN(compl_leader))) | |
26 | { | |
27 | p = cp->cp_str; | |
28 | --- 3206,3213 ---- | |
29 | for (cp = compl_shown_match->cp_next; cp != NULL | |
30 | && cp != compl_first_match; cp = cp->cp_next) | |
31 | { | |
32 | ! if (compl_leader == NULL | |
33 | ! || ins_compl_equal(cp, compl_leader, | |
34 | (int)STRLEN(compl_leader))) | |
35 | { | |
36 | p = cp->cp_str; | |
37 | *** ../vim-7.0.112/src/version.c Tue Oct 3 15:02:11 2006 | |
38 | --- src/version.c Tue Oct 3 15:20:13 2006 | |
39 | *************** | |
40 | *** 668,669 **** | |
41 | --- 668,671 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 113, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | I recommend ordering large cargo containers of paper towels to make up | |
49 | whatever budget underruns you have. Paper products are always useful and they | |
50 | have the advantage of being completely flushable if you need to make room in | |
51 | the storage area later. | |
52 | (Scott Adams - The Dilbert principle) | |
53 | ||
54 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
55 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
56 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
57 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |