]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.068
- new
[packages/vim.git] / 7.3.068
CommitLineData
5634d1d6
ER
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.068
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.068
11Problem: Using freed memory when doing ":saveas" and an autocommand sets
12 'autochdir'. (Kevin Klement)
13Solution: Get the value of fname again after executing autocommands.
14Files: src/ex_cmds.c
15
16
17*** ../vim-7.3.067/src/ex_cmds.c 2010-10-15 20:20:00.000000000 +0200
18--- src/ex_cmds.c 2010-11-24 17:53:07.000000000 +0100
19***************
20*** 2705,2710 ****
21--- 2705,2714 ----
22 TRUE);
23 do_modelines(0);
24 }
25+
26+ /* Autocommands may have changed buffer names, esp. when
27+ * 'autochdir' is set. */
28+ fname = curbuf->b_sfname;
29 #endif
30 }
31
32*** ../vim-7.3.067/src/version.c 2010-11-24 17:03:34.000000000 +0100
33--- src/version.c 2010-11-24 17:55:11.000000000 +0100
34***************
35*** 716,717 ****
36--- 716,719 ----
37 { /* Add new patch number below this line */
38+ /**/
39+ 68,
40 /**/
41
42--
43I used to wonder about the meaning of life. But I looked it
44up in the dictionary under "L" and there it was - the meaning
45of life. It was less than I expected. - Dogbert
46
47 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
48/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
49\\\ an exciting new programming language -- http://www.Zimbu.org ///
50 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.041276 seconds and 4 git commands to generate.