]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.067
- new
[packages/vim.git] / 7.2.067
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.067
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.2.067
11 Problem:    Session file can't load extra file when the path contains special
12             characters.
13 Solution:   Escape the file name. (Lech Lorens)
14 Files:      src/ex_docmd.c
15
16
17 *** ../vim-7.2.066/src/ex_docmd.c       Fri Nov 28 21:26:50 2008
18 --- src/ex_docmd.c      Fri Dec  5 21:34:11 2008
19 ***************
20 *** 10106,10112 ****
21        */
22       if (put_line(fd, "let s:sx = expand(\"<sfile>:p:r\").\"x.vim\"") == FAIL
23             || put_line(fd, "if file_readable(s:sx)") == FAIL
24 !           || put_line(fd, "  exe \"source \" . s:sx") == FAIL
25             || put_line(fd, "endif") == FAIL)
26         return FAIL;
27   
28 --- 10106,10112 ----
29        */
30       if (put_line(fd, "let s:sx = expand(\"<sfile>:p:r\").\"x.vim\"") == FAIL
31             || put_line(fd, "if file_readable(s:sx)") == FAIL
32 !           || put_line(fd, "  exe \"source \" . fnameescape(s:sx)") == FAIL
33             || put_line(fd, "endif") == FAIL)
34         return FAIL;
35   
36 *** ../vim-7.2.066/src/version.c        Tue Dec  9 10:56:50 2008
37 --- src/version.c       Tue Dec  9 11:16:27 2008
38 ***************
39 *** 678,679 ****
40 --- 678,681 ----
41   {   /* Add new patch number below this line */
42 + /**/
43 +     67,
44   /**/
45
46 -- 
47 Life is a gift, living is an art.               (Bram Moolenaar)
48
49  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
50 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51 \\\        download, build and distribute -- http://www.A-A-P.org        ///
52  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.059557 seconds and 3 git commands to generate.