]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.289
- new
[packages/vim.git] / 7.1.289
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.289
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.1.289
11 Problem:    When EXITFREE is defined and 'acd' is set freed memory is used.
12             (Dominique Pelle)
13 Solution:   Reset p_acd before freeing all buffers.
14 Files:      src/misc2.c
15
16
17 *** ../vim-7.1.288/src/misc2.c  Wed Feb 20 12:22:59 2008
18 --- src/misc2.c Wed Mar 26 21:02:57 2008
19 ***************
20 *** 751,757 ****
21   #endif
22   
23   /*
24 !  * Note: if unsinged is 16 bits we can only allocate up to 64K with alloc().
25    * Use lalloc for larger blocks.
26    */
27       char_u *
28 --- 752,758 ----
29   #endif
30   
31   /*
32 !  * Note: if unsigned is 16 bits we can only allocate up to 64K with alloc().
33    * Use lalloc for larger blocks.
34    */
35       char_u *
36 ***************
37 *** 1082,1088 ****
38       win_free_all();
39   #endif
40   
41 !     /* Free all buffers. */
42       for (buf = firstbuf; buf != NULL; )
43       {
44         nextbuf = buf->b_next;
45 --- 1083,1093 ----
46       win_free_all();
47   #endif
48   
49 !     /* Free all buffers.  Reset 'autochdir' to avoid accessing things that
50 !      * were freed already. */
51 ! #ifdef FEAT_AUTOCHDIR
52 !     p_acd = FALSE;
53 ! #endif
54       for (buf = firstbuf; buf != NULL; )
55       {
56         nextbuf = buf->b_next;
57 *** ../vim-7.1.288/src/version.c        Tue Apr  1 14:30:18 2008
58 --- src/version.c       Tue Apr  1 14:51:06 2008
59 ***************
60 *** 668,669 ****
61 --- 668,671 ----
62   {   /* Add new patch number below this line */
63 + /**/
64 +     289,
65   /**/
66
67 -- 
68 hundred-and-one symptoms of being an internet addict:
69 207. You're given one phone call in prison and you ask them for a laptop.
70
71  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
72 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
73 \\\        download, build and distribute -- http://www.A-A-P.org        ///
74  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.063318 seconds and 3 git commands to generate.