Blame SOURCES/7.4.441

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.441
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.441
22c937
Problem:    Endless loop and other problems when 'cedit' is set to CTRL-C.
22c937
Solution:   Do not call ex_window() when ex_normal_busy or got_int was set.
22c937
	    (Yasuhiro Matsumoto)
22c937
Files:	    src/ex_getln.c
22c937
22c937
22c937
*** ../vim-7.4.440/src/ex_getln.c	2014-08-17 17:24:03.967017727 +0200
22c937
--- src/ex_getln.c	2014-09-09 18:41:19.304551123 +0200
22c937
***************
22c937
*** 759,769 ****
22c937
  #ifdef FEAT_CMDWIN
22c937
  	if (c == cedit_key || c == K_CMDWIN)
22c937
  	{
22c937
! 	    /*
22c937
! 	     * Open a window to edit the command line (and history).
22c937
! 	     */
22c937
! 	    c = ex_window();
22c937
! 	    some_key_typed = TRUE;
22c937
  	}
22c937
  # ifdef FEAT_DIGRAPHS
22c937
  	else
22c937
--- 759,772 ----
22c937
  #ifdef FEAT_CMDWIN
22c937
  	if (c == cedit_key || c == K_CMDWIN)
22c937
  	{
22c937
! 	    if (ex_normal_busy == 0 && got_int == FALSE)
22c937
! 	    {
22c937
! 		/*
22c937
! 		 * Open a window to edit the command line (and history).
22c937
! 		 */
22c937
! 		c = ex_window();
22c937
! 		some_key_typed = TRUE;
22c937
! 	    }
22c937
  	}
22c937
  # ifdef FEAT_DIGRAPHS
22c937
  	else
22c937
*** ../vim-7.4.440/src/version.c	2014-09-09 18:29:24.328549561 +0200
22c937
--- src/version.c	2014-09-09 18:40:16.680550986 +0200
22c937
***************
22c937
*** 743,744 ****
22c937
--- 743,746 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     441,
22c937
  /**/
22c937
22c937
-- 
22c937
hundred-and-one symptoms of being an internet addict:
22c937
114. You are counting items, you go "0,1,2,3,4,5,6,7,8,9,A,B,C,D...".
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///