|
|
073263 |
To: vim_dev@googlegroups.com
|
|
|
073263 |
Subject: Patch 7.4.514
|
|
|
073263 |
Fcc: outbox
|
|
|
073263 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
073263 |
Mime-Version: 1.0
|
|
|
073263 |
Content-Type: text/plain; charset=UTF-8
|
|
|
073263 |
Content-Transfer-Encoding: 8bit
|
|
|
073263 |
------------
|
|
|
073263 |
|
|
|
073263 |
Patch 7.4.514 (after 7.4.492)
|
|
|
073263 |
Problem: Memory access error. (Dominique Pelle)
|
|
|
073263 |
Solution: Update tpos. (Christian Brabandt)
|
|
|
073263 |
Files: src/edit.c
|
|
|
073263 |
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.513/src/edit.c 2014-10-31 19:20:30.782742928 +0100
|
|
|
073263 |
--- src/edit.c 2014-11-12 18:53:10.890098796 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 6918,6923 ****
|
|
|
073263 |
--- 6918,6925 ----
|
|
|
073263 |
curwin->w_cursor = tpos;
|
|
|
073263 |
else
|
|
|
073263 |
{
|
|
|
073263 |
+ /* reset tpos, could have been invalidated in the loop above */
|
|
|
073263 |
+ tpos = curwin->w_cursor;
|
|
|
073263 |
tpos.col++;
|
|
|
073263 |
if (cc != NUL && gchar_pos(&tpos) == NUL)
|
|
|
073263 |
++curwin->w_cursor.col; /* put cursor back on the NUL */
|
|
|
073263 |
*** ../vim-7.4.513/src/version.c 2014-11-12 18:49:12.992752234 +0100
|
|
|
073263 |
--- src/version.c 2014-11-12 18:52:50.738323726 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 743,744 ****
|
|
|
073263 |
--- 743,746 ----
|
|
|
073263 |
{ /* Add new patch number below this line */
|
|
|
073263 |
+ /**/
|
|
|
073263 |
+ 514,
|
|
|
073263 |
/**/
|
|
|
073263 |
|
|
|
073263 |
--
|
|
|
073263 |
My girlfriend told me I should be more affectionate.
|
|
|
073263 |
So I got TWO girlfriends.
|
|
|
073263 |
|
|
|
073263 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
073263 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
073263 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
073263 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|