]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - vim/patches/vim-7.3.420.patch0
ppp: Re-add ifname patch
[people/ms/ipfire-3.x.git] / vim / patches / vim-7.3.420.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.420
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.420
11 Problem: "it" and "at" don't work properly with a dash in the tag name.
12 Solution: Require a space to match the tag name. (Christian Brabandt)
13 Files: src/search.c
14
15
16 *** ../vim-7.3.419/src/search.c 2012-01-10 22:26:12.000000000 +0100
17 --- src/search.c 2012-01-26 20:51:43.000000000 +0100
18 ***************
19 *** 3918,3924 ****
20 curwin->w_cursor = old_pos;
21 goto theend;
22 }
23 ! spat = alloc(len + 29);
24 epat = alloc(len + 9);
25 if (spat == NULL || epat == NULL)
26 {
27 --- 3918,3924 ----
28 curwin->w_cursor = old_pos;
29 goto theend;
30 }
31 ! spat = alloc(len + 31);
32 epat = alloc(len + 9);
33 if (spat == NULL || epat == NULL)
34 {
35 ***************
36 *** 3927,3933 ****
37 curwin->w_cursor = old_pos;
38 goto theend;
39 }
40 ! sprintf((char *)spat, "<%.*s\\>\\%%(\\_[^>]\\{-}[^/]>\\|>\\)\\c", len, p);
41 sprintf((char *)epat, "</%.*s>\\c", len, p);
42
43 r = do_searchpair(spat, (char_u *)"", epat, FORWARD, (char_u *)"",
44 --- 3927,3933 ----
45 curwin->w_cursor = old_pos;
46 goto theend;
47 }
48 ! sprintf((char *)spat, "<%.*s\\>\\%%(\\s\\_[^>]\\{-}[^/]>\\|>\\)\\c", len, p);
49 sprintf((char *)epat, "</%.*s>\\c", len, p);
50
51 r = do_searchpair(spat, (char_u *)"", epat, FORWARD, (char_u *)"",
52 *** ../vim-7.3.419/src/version.c 2012-01-26 20:41:22.000000000 +0100
53 --- src/version.c 2012-01-26 20:51:16.000000000 +0100
54 ***************
55 *** 716,717 ****
56 --- 716,719 ----
57 { /* Add new patch number below this line */
58 + /**/
59 + 420,
60 /**/
61
62 --
63 All good vision statements are created by groups of people with bloated
64 bladders who would rather be doing anything else.
65 (Scott Adams - The Dilbert principle)
66
67 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
68 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
69 \\\ an exciting new programming language -- http://www.Zimbu.org ///
70 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///