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