]> git.ipfire.org Git - ipfire-3.x.git/blob - vim/patches/vim-7.3.348.patch0
python3: Update to 3.6.3
[ipfire-3.x.git] / vim / patches / vim-7.3.348.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.348
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.348
11 Problem: "call range(1, 947948399)" causes a crash. (ZyX)
12 Solution: Avoid a loop in the out of memory message.
13 Files: 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 --
52 A 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 ///