|
Karsten Hopp |
3ebc5f |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
3ebc5f |
Subject: Patch 7.3.367
|
|
Karsten Hopp |
3ebc5f |
Fcc: outbox
|
|
Karsten Hopp |
3ebc5f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
3ebc5f |
Mime-Version: 1.0
|
|
Karsten Hopp |
3ebc5f |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
3ebc5f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
3ebc5f |
------------
|
|
Karsten Hopp |
3ebc5f |
|
|
Karsten Hopp |
3ebc5f |
Patch 7.3.367
|
|
Karsten Hopp |
3ebc5f |
Problem: :wundo and :rundo use a wrong checksum.
|
|
Karsten Hopp |
3ebc5f |
Solution: Include the last line when computing the hash. (Christian Brabandt)
|
|
Karsten Hopp |
3ebc5f |
Files: src/undo.c
|
|
Karsten Hopp |
3ebc5f |
|
|
Karsten Hopp |
3ebc5f |
|
|
Karsten Hopp |
3ebc5f |
*** ../vim-7.3.366/src/undo.c 2011-01-22 21:25:07.000000000 +0100
|
|
Karsten Hopp |
3ebc5f |
--- src/undo.c 2011-12-08 14:19:03.000000000 +0100
|
|
Karsten Hopp |
3ebc5f |
***************
|
|
Karsten Hopp |
3ebc5f |
*** 719,725 ****
|
|
Karsten Hopp |
3ebc5f |
char_u *p;
|
|
Karsten Hopp |
3ebc5f |
|
|
Karsten Hopp |
3ebc5f |
sha256_start(&ctx;;
|
|
Karsten Hopp |
3ebc5f |
! for (lnum = 1; lnum < curbuf->b_ml.ml_line_count; ++lnum)
|
|
Karsten Hopp |
3ebc5f |
{
|
|
Karsten Hopp |
3ebc5f |
p = ml_get(lnum);
|
|
Karsten Hopp |
3ebc5f |
sha256_update(&ctx, p, (UINT32_T)(STRLEN(p) + 1));
|
|
Karsten Hopp |
3ebc5f |
--- 719,725 ----
|
|
Karsten Hopp |
3ebc5f |
char_u *p;
|
|
Karsten Hopp |
3ebc5f |
|
|
Karsten Hopp |
3ebc5f |
sha256_start(&ctx;;
|
|
Karsten Hopp |
3ebc5f |
! for (lnum = 1; lnum <= curbuf->b_ml.ml_line_count; ++lnum)
|
|
Karsten Hopp |
3ebc5f |
{
|
|
Karsten Hopp |
3ebc5f |
p = ml_get(lnum);
|
|
Karsten Hopp |
3ebc5f |
sha256_update(&ctx, p, (UINT32_T)(STRLEN(p) + 1));
|
|
Karsten Hopp |
3ebc5f |
*** ../vim-7.3.366/src/version.c 2011-12-08 15:12:08.000000000 +0100
|
|
Karsten Hopp |
3ebc5f |
--- src/version.c 2011-12-08 15:13:32.000000000 +0100
|
|
Karsten Hopp |
3ebc5f |
***************
|
|
Karsten Hopp |
3ebc5f |
*** 716,717 ****
|
|
Karsten Hopp |
3ebc5f |
--- 716,719 ----
|
|
Karsten Hopp |
3ebc5f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
3ebc5f |
+ /**/
|
|
Karsten Hopp |
3ebc5f |
+ 367,
|
|
Karsten Hopp |
3ebc5f |
/**/
|
|
Karsten Hopp |
3ebc5f |
|
|
Karsten Hopp |
3ebc5f |
--
|
|
Karsten Hopp |
3ebc5f |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
3ebc5f |
247. You use www.switchboard.com instead of dialing 411 and 555-12-12
|
|
Karsten Hopp |
3ebc5f |
for directory assistance.
|
|
Karsten Hopp |
3ebc5f |
|
|
Karsten Hopp |
3ebc5f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
3ebc5f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
3ebc5f |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
3ebc5f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|