|
Karsten Hopp |
d4f7f6 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
d4f7f6 |
Subject: Patch 7.0.172
|
|
Karsten Hopp |
d4f7f6 |
Fcc: outbox
|
|
Karsten Hopp |
d4f7f6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d4f7f6 |
Mime-Version: 1.0
|
|
Karsten Hopp |
d4f7f6 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
d4f7f6 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d4f7f6 |
------------
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
Patch 7.0.172
|
|
Karsten Hopp |
d4f7f6 |
Problem: Crash when recovering and quitting at the "press-enter" prompt.
|
|
Karsten Hopp |
d4f7f6 |
Solution: Check for "msg_list" to be NULL. (Liu Yubao)
|
|
Karsten Hopp |
d4f7f6 |
Files: src/ex_eval.c
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
*** ../vim-7.0.171/src/ex_eval.c Sun Apr 23 00:28:06 2006
|
|
Karsten Hopp |
d4f7f6 |
--- src/ex_eval.c Tue Nov 28 18:30:23 2006
|
|
Karsten Hopp |
d4f7f6 |
***************
|
|
Karsten Hopp |
d4f7f6 |
*** 340,346 ****
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
/* If no exception is to be thrown or the conversion should be done after
|
|
Karsten Hopp |
d4f7f6 |
* returning to a previous invocation of do_one_cmd(), do nothing. */
|
|
Karsten Hopp |
d4f7f6 |
! if (*msg_list == NULL)
|
|
Karsten Hopp |
d4f7f6 |
return;
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
if (throw_exception(*msg_list, ET_ERROR, cmdname) == FAIL)
|
|
Karsten Hopp |
d4f7f6 |
--- 340,346 ----
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
/* If no exception is to be thrown or the conversion should be done after
|
|
Karsten Hopp |
d4f7f6 |
* returning to a previous invocation of do_one_cmd(), do nothing. */
|
|
Karsten Hopp |
d4f7f6 |
! if (msg_list == NULL || *msg_list == NULL)
|
|
Karsten Hopp |
d4f7f6 |
return;
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
if (throw_exception(*msg_list, ET_ERROR, cmdname) == FAIL)
|
|
Karsten Hopp |
d4f7f6 |
***************
|
|
Karsten Hopp |
d4f7f6 |
*** 2026,2033 ****
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
/* If an error was about to be converted to an exception when
|
|
Karsten Hopp |
d4f7f6 |
* enter_cleanup() was called, free the message list. */
|
|
Karsten Hopp |
d4f7f6 |
! free_msglist(*msg_list);
|
|
Karsten Hopp |
d4f7f6 |
! *msg_list = NULL;
|
|
Karsten Hopp |
d4f7f6 |
}
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
/*
|
|
Karsten Hopp |
d4f7f6 |
--- 2026,2036 ----
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
/* If an error was about to be converted to an exception when
|
|
Karsten Hopp |
d4f7f6 |
* enter_cleanup() was called, free the message list. */
|
|
Karsten Hopp |
d4f7f6 |
! if (msg_list != NULL)
|
|
Karsten Hopp |
d4f7f6 |
! {
|
|
Karsten Hopp |
d4f7f6 |
! free_msglist(*msg_list);
|
|
Karsten Hopp |
d4f7f6 |
! *msg_list = NULL;
|
|
Karsten Hopp |
d4f7f6 |
! }
|
|
Karsten Hopp |
d4f7f6 |
}
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
/*
|
|
Karsten Hopp |
d4f7f6 |
*** ../vim-7.0.171/src/version.c Tue Nov 28 17:44:51 2006
|
|
Karsten Hopp |
d4f7f6 |
--- src/version.c Tue Nov 28 18:32:50 2006
|
|
Karsten Hopp |
d4f7f6 |
***************
|
|
Karsten Hopp |
d4f7f6 |
*** 668,669 ****
|
|
Karsten Hopp |
d4f7f6 |
--- 668,671 ----
|
|
Karsten Hopp |
d4f7f6 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d4f7f6 |
+ /**/
|
|
Karsten Hopp |
d4f7f6 |
+ 172,
|
|
Karsten Hopp |
d4f7f6 |
/**/
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
--
|
|
Karsten Hopp |
d4f7f6 |
GUARD #1: Where'd you get the coconut?
|
|
Karsten Hopp |
d4f7f6 |
ARTHUR: We found them.
|
|
Karsten Hopp |
d4f7f6 |
GUARD #1: Found them? In Mercea? The coconut's tropical!
|
|
Karsten Hopp |
d4f7f6 |
ARTHUR: What do you mean?
|
|
Karsten Hopp |
d4f7f6 |
GUARD #1: Well, this is a temperate zone.
|
|
Karsten Hopp |
d4f7f6 |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
d4f7f6 |
|
|
Karsten Hopp |
d4f7f6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d4f7f6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d4f7f6 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
d4f7f6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|