]> git.ipfire.org Git - ipfire-3.x.git/blob - vim/patches/vim-7.3.001.patch0
Change file layout of the makefiles.
[ipfire-3.x.git] / vim / patches / vim-7.3.001.patch0
1 To: vim-dev@vim.org
2 Subject: Patch 7.3.001
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.001
11 Problem: When editing "src/main.c" and 'path' set to "./proto",
12 ":find e<C-D" shows ./proto/eval.pro instead of eval.pro.
13 Solution: Check for path separator when comparing names. (Nazri Ramliy)
14 Files: src/misc1.c
15
16
17 *** ../vim-7.3.000/src/misc1.c 2010-08-15 21:57:27.000000000 +0200
18 --- src/misc1.c 2010-08-16 20:43:25.000000000 +0200
19 ***************
20 *** 9317,9323 ****
21 continue; /* it's different when it's shorter */
22
23 rival = other_paths[j] + other_path_len - candidate_len;
24 ! if (fnamecmp(maybe_unique, rival) == 0)
25 return FALSE; /* match */
26 }
27
28 --- 9317,9324 ----
29 continue; /* it's different when it's shorter */
30
31 rival = other_paths[j] + other_path_len - candidate_len;
32 ! if (fnamecmp(maybe_unique, rival) == 0
33 ! && (rival == other_paths[j] || vim_ispathsep(*(rival - 1))))
34 return FALSE; /* match */
35 }
36
37 *** ../vim-7.3.000/src/version.c 2010-08-15 21:57:25.000000000 +0200
38 --- src/version.c 2010-08-16 20:53:09.000000000 +0200
39 ***************
40 *** 716,717 ****
41 --- 716,719 ----
42 { /* Add new patch number below this line */
43 + /**/
44 + 1,
45 /**/
46
47
48 --
49 From "know your smileys":
50 (:-# Said something he shouldn't have
51
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///