]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.024
- updated to 7.2.102
[packages/vim.git] / 7.2.024
CommitLineData
3db12ce3
ER
1To: vim-dev@vim.org
2Subject: Patch 7.2.024
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 7.2.024
11Problem: It's possible to set 'history' to a negative value and that causes
12 an out-of-memory error.
13Solution: Check that 'history' has a positive value. (Doug Kearns)
14Files: 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--
44hundred-and-one symptoms of being an internet addict:
45127. 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.069422 seconds and 4 git commands to generate.