]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - vim/patches/vim-7.3.515.patch0
Merge remote-tracking branch 'stevee/openvswitch-systemd'
[people/amarx/ipfire-3.x.git] / vim / patches / vim-7.3.515.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.515
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.515
11 Problem: 'wildignorecase' only applies to the last part of the path.
12 Solution: Also ignore case for letters earlier in the path.
13 Files: src/misc1.c
14
15
16 *** ../vim-7.3.514/src/misc1.c 2012-04-09 20:42:20.000000000 +0200
17 --- src/misc1.c 2012-04-30 21:00:18.000000000 +0200
18 ***************
19 *** 9461,9466 ****
20 --- 9461,9467 ----
21
22 /*
23 * Find the first part in the path name that contains a wildcard.
24 + * When EW_ICASE is set every letter is considered to be a wildcard.
25 * Copy it into "buf", including the preceding characters.
26 */
27 p = buf;
28 ***************
29 *** 9480,9486 ****
30 s = p + 1;
31 }
32 else if (path_end >= path + wildoff
33 ! && vim_strchr((char_u *)"*?[{~$", *path_end) != NULL)
34 e = p;
35 #ifdef FEAT_MBYTE
36 if (has_mbyte)
37 --- 9481,9492 ----
38 s = p + 1;
39 }
40 else if (path_end >= path + wildoff
41 ! && (vim_strchr((char_u *)"*?[{~$", *path_end) != NULL
42 ! #ifndef CASE_INSENSITIVE_FILENAME
43 ! || ((flags & EW_ICASE)
44 ! && isalpha(PTR2CHAR(path_end)))
45 ! #endif
46 ! ))
47 e = p;
48 #ifdef FEAT_MBYTE
49 if (has_mbyte)
50 *** ../vim-7.3.514/src/version.c 2012-04-30 18:48:38.000000000 +0200
51 --- src/version.c 2012-04-30 21:05:10.000000000 +0200
52 ***************
53 *** 716,717 ****
54 --- 716,719 ----
55 { /* Add new patch number below this line */
56 + /**/
57 + 515,
58 /**/
59
60 --
61 If an elephant is left tied to a parking meter, the parking fee has to be paid
62 just as it would for a vehicle.
63 [real standing law in Florida, United States of America]
64
65 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
66 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
67 \\\ an exciting new programming language -- http://www.Zimbu.org ///
68 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///