jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.441

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