1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: "call range(1, 947948399)" causes a crash. (ZyX)
12 Solution: Avoid a loop in the out of memory message.
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
21 /* Don't hide this message */
23 ! EMSGN(_("E342: Out of memory! (allocating %lu bytes)"), size);
24 did_outofmem_msg = TRUE;
30 /* Don't hide this message */
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;
37 + EMSGN(_("E342: Out of memory! (allocating %lu bytes)"), size);
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
46 { /* Add new patch number below this line */
52 A fool learns from his mistakes, a wise man from someone else's.
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 ///