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