]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.024
- updated to 7.2.102
[packages/vim.git] / 7.2.024
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.024
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.024
11 Problem:    It's possible to set 'history' to a negative value and that causes
12             an out-of-memory error.
13 Solution:   Check that 'history' has a positive value. (Doug Kearns)
14 Files:      src/option.c
15
16
17 *** ../vim-7.2.023/src/option.c Thu Jul 24 18:45:15 2008
18 --- src/option.c        Fri Sep 26 22:20:20 2008
19 ***************
20 *** 7974,7979 ****
21 --- 7974,7984 ----
22         else /* curwin->w_p_scr > curwin->w_height */
23             curwin->w_p_scr = curwin->w_height;
24       }
25 +     if (p_hi < 0)
26 +     {
27 +       errmsg = e_positive;
28 +       p_hi = 0;
29 +     }
30       if (p_report < 0)
31       {
32         errmsg = e_positive;
33 *** ../vim-7.2.023/src/version.c        Wed Oct  1 21:09:02 2008
34 --- src/version.c       Thu Oct  2 22:47:22 2008
35 ***************
36 *** 678,679 ****
37 --- 678,681 ----
38   {   /* Add new patch number below this line */
39 + /**/
40 +     24,
41   /**/
42
43 -- 
44 hundred-and-one symptoms of being an internet addict:
45 127. You bring your laptop and cellular phone to church.
46
47  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
48 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
49 \\\        download, build and distribute -- http://www.A-A-P.org        ///
50  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.026415 seconds and 3 git commands to generate.