]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.348
- new
[packages/vim.git] / 7.3.348
CommitLineData
59ab3540
AM
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.348
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.348
11Problem: "call range(1, 947948399)" causes a crash. (ZyX)
12Solution: Avoid a loop in the out of memory message.
13Files: src/misc2.c
14
15
16*** ../vim-7.3.347/src/misc2.c 2011-08-19 22:28:58.000000000 +0200
17--- src/misc2.c 2011-10-26 11:17:26.000000000 +0200
18***************
19*** 1012,1019 ****
20 {
21 /* Don't hide this message */
22 emsg_silent = 0;
23! EMSGN(_("E342: Out of memory! (allocating %lu bytes)"), size);
24 did_outofmem_msg = TRUE;
25 }
26 }
27
28--- 1012,1023 ----
29 {
30 /* Don't hide this message */
31 emsg_silent = 0;
32!
33! /* Must come first to avoid coming back here when printing the error
34! * message fails, e.g. when setting v:errmsg. */
35 did_outofmem_msg = TRUE;
36+
37+ EMSGN(_("E342: Out of memory! (allocating %lu bytes)"), size);
38 }
39 }
40
41*** ../vim-7.3.347/src/version.c 2011-10-26 11:36:21.000000000 +0200
42--- src/version.c 2011-10-26 11:38:33.000000000 +0200
43***************
44*** 716,717 ****
45--- 716,719 ----
46 { /* Add new patch number below this line */
47+ /**/
48+ 348,
49 /**/
50
51--
52A fool learns from his mistakes, a wise man from someone else's.
53
54 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
55/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
56\\\ an exciting new programming language -- http://www.Zimbu.org ///
57 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.040398 seconds and 4 git commands to generate.