]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.194
- new
[packages/vim.git] / 7.3.194
CommitLineData
437d9c61
ER
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.194
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.194
11Problem: When "b" is a symlink to directory "a", resolve("b/") doesn't
12 result in "a/". (ZyX)
13Solution: Remove the trailing slash. (Jean-Rene David)
14Files: src/eval.c
15
16
17*** ../vim-7.3.193/src/eval.c 2011-05-19 13:40:47.000000000 +0200
18--- src/eval.c 2011-05-19 14:55:27.000000000 +0200
19***************
20*** 14980,14986 ****
21--- 14980,14989 ----
22
23 len = STRLEN(p);
24 if (len > 0 && after_pathsep(p, p + len))
25+ {
26 has_trailing_pathsep = TRUE;
27+ p[len - 1] = NUL; /* the trailing slash breaks readlink() */
28+ }
29
30 q = getnextcomp(p);
31 if (*q != NUL)
32*** ../vim-7.3.193/src/version.c 2011-05-19 14:50:49.000000000 +0200
33--- src/version.c 2011-05-19 14:54:40.000000000 +0200
34***************
35*** 711,712 ****
36--- 711,714 ----
37 { /* Add new patch number below this line */
38+ /**/
39+ 194,
40 /**/
41
42--
43Momento mori, ergo carpe diem
44
45 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
46/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
47\\\ an exciting new programming language -- http://www.Zimbu.org ///
48 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.043498 seconds and 4 git commands to generate.