|
Karsten Hopp |
82f238 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
82f238 |
Subject: Patch 7.3.903
|
|
Karsten Hopp |
82f238 |
Fcc: outbox
|
|
Karsten Hopp |
82f238 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
82f238 |
Mime-Version: 1.0
|
|
Karsten Hopp |
82f238 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
82f238 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
82f238 |
------------
|
|
Karsten Hopp |
82f238 |
|
|
Karsten Hopp |
82f238 |
Patch 7.3.903 (after 7.3.892)
|
|
Karsten Hopp |
82f238 |
Problem: Crash on exit writing viminfo. (Ron Aaron)
|
|
Karsten Hopp |
82f238 |
Solution: Check for the history to be empty.
|
|
Karsten Hopp |
82f238 |
Files: src/ex_getln.c
|
|
Karsten Hopp |
82f238 |
|
|
Karsten Hopp |
82f238 |
|
|
Karsten Hopp |
82f238 |
*** ../vim-7.3.902/src/ex_getln.c 2013-04-14 23:19:32.000000000 +0200
|
|
Karsten Hopp |
82f238 |
--- src/ex_getln.c 2013-04-15 16:13:56.000000000 +0200
|
|
Karsten Hopp |
82f238 |
***************
|
|
Karsten Hopp |
82f238 |
*** 6216,6222 ****
|
|
Karsten Hopp |
82f238 |
*/
|
|
Karsten Hopp |
82f238 |
for (round = 1; round <= 2; ++round)
|
|
Karsten Hopp |
82f238 |
{
|
|
Karsten Hopp |
82f238 |
! i = round == 1 ? hisidx[type] : 0;
|
|
Karsten Hopp |
82f238 |
if (i >= 0)
|
|
Karsten Hopp |
82f238 |
while (num_saved > 0
|
|
Karsten Hopp |
82f238 |
&& !(round == 2 && i >= viminfo_hisidx[type]))
|
|
Karsten Hopp |
82f238 |
--- 6216,6230 ----
|
|
Karsten Hopp |
82f238 |
*/
|
|
Karsten Hopp |
82f238 |
for (round = 1; round <= 2; ++round)
|
|
Karsten Hopp |
82f238 |
{
|
|
Karsten Hopp |
82f238 |
! if (round == 1)
|
|
Karsten Hopp |
82f238 |
! /* start at newest entry, somewhere in the list */
|
|
Karsten Hopp |
82f238 |
! i = hisidx[type];
|
|
Karsten Hopp |
82f238 |
! else if (viminfo_hisidx[type] > 0)
|
|
Karsten Hopp |
82f238 |
! /* start at newest entry, first in the list */
|
|
Karsten Hopp |
82f238 |
! i = 0;
|
|
Karsten Hopp |
82f238 |
! else
|
|
Karsten Hopp |
82f238 |
! /* empty list */
|
|
Karsten Hopp |
82f238 |
! i = -1;
|
|
Karsten Hopp |
82f238 |
if (i >= 0)
|
|
Karsten Hopp |
82f238 |
while (num_saved > 0
|
|
Karsten Hopp |
82f238 |
&& !(round == 2 && i >= viminfo_hisidx[type]))
|
|
Karsten Hopp |
82f238 |
*** ../vim-7.3.902/src/version.c 2013-04-15 15:55:15.000000000 +0200
|
|
Karsten Hopp |
82f238 |
--- src/version.c 2013-04-15 16:11:08.000000000 +0200
|
|
Karsten Hopp |
82f238 |
***************
|
|
Karsten Hopp |
82f238 |
*** 730,731 ****
|
|
Karsten Hopp |
82f238 |
--- 730,733 ----
|
|
Karsten Hopp |
82f238 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
82f238 |
+ /**/
|
|
Karsten Hopp |
82f238 |
+ 903,
|
|
Karsten Hopp |
82f238 |
/**/
|
|
Karsten Hopp |
82f238 |
|
|
Karsten Hopp |
82f238 |
--
|
|
Karsten Hopp |
82f238 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
82f238 |
176. You lie, even to user-friends, about how long you were online yesterday.
|
|
Karsten Hopp |
82f238 |
|
|
Karsten Hopp |
82f238 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
82f238 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
82f238 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
82f238 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|