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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui