To:
[email protected]
Subject: Patch 7.4b.014
Fcc: outbox
From: Bram Moolenaar <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------
Patch 7.4b.014 (after 7.4b.012)
Problem: Stupid mistake.
Solution: Changle "len" to "i".
Files: src/misc1.c
*** ../vim-7.4b.013/src/misc1.c 2013-08-03 14:10:45.000000000 +0200
--- src/misc1.c 2013-08-03 17:29:33.000000000 +0200
***************
*** 10890,10897 ****
{
/* Change NUL into SOH, otherwise the string is truncated. */
for (i = 0; i < len; ++i)
! if (buffer[len] == NUL)
! buffer[len] = 1;
buffer[len] = NUL; /* make sure the buffer is terminated */
}
--- 10890,10897 ----
{
/* Change NUL into SOH, otherwise the string is truncated. */
for (i = 0; i < len; ++i)
! if (buffer[i] == NUL)
! buffer[i] = 1;
buffer[len] = NUL; /* make sure the buffer is terminated */
}
*** ../vim-7.4b.013/src/version.c 2013-08-03 17:21:22.000000000 +0200
--- src/version.c 2013-08-03 17:30:15.000000000 +0200
***************
*** 729,730 ****
--- 729,732 ----
{ /* Add new patch number below this line */
+ /**/
+ 14,
/**/
--
hundred-and-one symptoms of being an internet addict:
39. You move into a new house and decide to Netscape before you landscape.
/// Bram Moolenaar --
[email protected] --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///