4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
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)
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
21 continue; /* it's different when it's shorter */
23 rival = other_paths[j] + other_path_len - candidate_len;
24 ! if (fnamecmp(maybe_unique, rival) == 0)
25 return FALSE; /* match */
29 continue; /* it's different when it's shorter */
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 */
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
42 { /* Add new patch number below this line */
49 From "know your smileys":
50 (:-# Said something he shouldn't have
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 ///