To:
[email protected]
Subject: Patch 6.0aw.006
Fcc: outbox
From: Bram Moolenaar <
[email protected]>
------------
Patch 6.0aw.006
Problem: Debugging a function that is called while editing the command line
causes a crash. (Yegappan Lakshmanan)
Solution: Save the command line when getting a debug command and restore it
afterwards.
Files: src/ex_cmds2.c
*** ../vim-6.0aw/src/ex_cmds2.c Sun Sep 16 22:21:06 2001
--- src/ex_cmds2.c Tue Sep 18 11:14:13 2001
***************
*** 85,91 ****
#ifdef FEAT_SNIFF
ProcessSniffRequests();
#endif
! cmdline = getcmdline('>', 0L, 0);
cmdline_row = msg_row;
if (cmdline != NULL)
{
--- 85,91 ----
#ifdef FEAT_SNIFF
ProcessSniffRequests();
#endif
! cmdline = getcmdline_prompt('>', NULL, 0);
cmdline_row = msg_row;
if (cmdline != NULL)
{
--
This sentence is not sure that it exists, but if it does, it will
certainly consider the possibility that other sentences exist.
/// Bram Moolenaar --
[email protected] --
http://www.moolenaar.net \\\
((( Creator of Vim --
http://vim.sf.net --
ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda -
http://iccf-holland.org ///