]> git.ipfire.org Git - ipfire-3.x.git/blob - vim/patches/vim-7.3.367.patch0
2452d531c6ef9bef97872f6217192b96006df133
[ipfire-3.x.git] / vim / patches / vim-7.3.367.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.367
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.367
11 Problem: :wundo and :rundo use a wrong checksum.
12 Solution: Include the last line when computing the hash. (Christian Brabandt)
13 Files: src/undo.c
14
15
16 *** ../vim-7.3.366/src/undo.c 2011-01-22 21:25:07.000000000 +0100
17 --- src/undo.c 2011-12-08 14:19:03.000000000 +0100
18 ***************
19 *** 719,725 ****
20 char_u *p;
21
22 sha256_start(&ctx);
23 ! for (lnum = 1; lnum < curbuf->b_ml.ml_line_count; ++lnum)
24 {
25 p = ml_get(lnum);
26 sha256_update(&ctx, p, (UINT32_T)(STRLEN(p) + 1));
27 --- 719,725 ----
28 char_u *p;
29
30 sha256_start(&ctx);
31 ! for (lnum = 1; lnum <= curbuf->b_ml.ml_line_count; ++lnum)
32 {
33 p = ml_get(lnum);
34 sha256_update(&ctx, p, (UINT32_T)(STRLEN(p) + 1));
35 *** ../vim-7.3.366/src/version.c 2011-12-08 15:12:08.000000000 +0100
36 --- src/version.c 2011-12-08 15:13:32.000000000 +0100
37 ***************
38 *** 716,717 ****
39 --- 716,719 ----
40 { /* Add new patch number below this line */
41 + /**/
42 + 367,
43 /**/
44
45 --
46 hundred-and-one symptoms of being an internet addict:
47 247. You use www.switchboard.com instead of dialing 411 and 555-12-12
48 for directory assistance.
49
50 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
51 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
52 \\\ an exciting new programming language -- http://www.Zimbu.org ///
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///