]> git.pld-linux.org Git - packages/vim.git/blame - 6.3.089
- up to 6.4.001 (but some todo issues left)
[packages/vim.git] / 6.3.089
CommitLineData
b38f03ee
AG
1To: vim-dev@vim.org
2Subject: Patch 6.3.089
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.3.089
11Problem: A session file doesn't work when created while the current
12 directory contains a space or the directory of the session files
13 contains a space. (Paolo Giarrusso)
14Solution: Escape spaces with a backslash.
15Files: src/ex_docmd.c
16
17
18*** ../vim-6.3.088/src/ex_docmd.c Sun Feb 13 20:46:05 2005
19--- src/ex_docmd.c Wed Sep 28 14:54:14 2005
20***************
21*** 8631,8645 ****
22 */
23 if (ssop_flags & SSOP_SESDIR)
24 {
25! if (put_line(fd, "exe \"cd \" . expand(\"<sfile>:p:h\")") == FAIL)
26 return FAIL;
27 }
28 else if (ssop_flags & SSOP_CURDIR)
29 {
30 sname = home_replace_save(NULL, globaldir != NULL ? globaldir : dirnow);
31 if (sname == NULL
32! || fprintf(fd, "cd %s", sname) < 0 || put_eol(fd) == FAIL)
33 return FAIL;
34 vim_free(sname);
35 }
36
37--- 8631,8650 ----
38 */
39 if (ssop_flags & SSOP_SESDIR)
40 {
41! if (put_line(fd, "exe \"cd \" . escape(expand(\"<sfile>:p:h\"), ' ')") == FAIL)
42 return FAIL;
43 }
44 else if (ssop_flags & SSOP_CURDIR)
45 {
46 sname = home_replace_save(NULL, globaldir != NULL ? globaldir : dirnow);
47 if (sname == NULL
48! || fputs("cd ", fd) < 0
49! || ses_put_fname(fd, sname, &ssop_flags) == FAIL
50! || put_eol(fd) == FAIL)
51! {
52! vim_free(sname);
53 return FAIL;
54+ }
55 vim_free(sname);
56 }
57
58*** ../vim-6.3.088/src/version.c Sun Sep 25 15:09:52 2005
59--- src/version.c Wed Sep 28 14:56:23 2005
60***************
61*** 643,644 ****
62--- 643,646 ----
63 { /* Add new patch number below this line */
64+ /**/
65+ 89,
66 /**/
67
68--
69Permission is granted to read this message out aloud on Kings Cross Road,
70London, under the condition that the orator is properly dressed.
71
72 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
73/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
74\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
75 \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
This page took 0.037151 seconds and 4 git commands to generate.