4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Session file can't load extra file when the path contains special
13 Solution: Escape the file name. (Lech Lorens)
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
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)
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)
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
41 { /* Add new patch number below this line */
47 Life is a gift, living is an art. (Bram Moolenaar)
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 ///