Karsten Hopp 885923
To: vim_dev@googlegroups.com
Karsten Hopp 885923
Subject: Patch 7.3.617
Karsten Hopp 885923
Fcc: outbox
Karsten Hopp 885923
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 885923
Mime-Version: 1.0
Karsten Hopp 885923
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 885923
Content-Transfer-Encoding: 8bit
Karsten Hopp 885923
------------
Karsten Hopp 885923
Karsten Hopp 885923
Patch 7.3.617 (after 7.3.615)
Karsten Hopp 885923
Problem:    Hang on completion.
Karsten Hopp 885923
Solution:   Skip over the space. (Yasuhiro Matsumoto)
Karsten Hopp 885923
Files:	    src/ex_docmd.c
Karsten Hopp 885923
Karsten Hopp 885923
Karsten Hopp 885923
*** ../vim-7.3.616/src/ex_docmd.c	2012-07-25 17:22:17.000000000 +0200
Karsten Hopp 885923
--- src/ex_docmd.c	2012-07-27 21:07:42.000000000 +0200
Karsten Hopp 885923
***************
Karsten Hopp 885923
*** 3837,3852 ****
Karsten Hopp 885923
  		    while (*p)
Karsten Hopp 885923
  		    {
Karsten Hopp 885923
  			if (*p == ' ')
Karsten Hopp 885923
- 			{
Karsten Hopp 885923
  			    /* argument starts after a space */
Karsten Hopp 885923
  			    arg = p + 1;
Karsten Hopp 885923
! 			}
Karsten Hopp 885923
! 			else
Karsten Hopp 885923
! 			{
Karsten Hopp 885923
! 			    if (*p == '\\' && *(p + 1) != NUL)
Karsten Hopp 885923
! 				++p; /* skip over escaped character */
Karsten Hopp 885923
! 			    mb_ptr_adv(p);
Karsten Hopp 885923
! 			}
Karsten Hopp 885923
  		    }
Karsten Hopp 885923
  		    xp->xp_pattern = arg;
Karsten Hopp 885923
  		}
Karsten Hopp 885923
--- 3837,3847 ----
Karsten Hopp 885923
  		    while (*p)
Karsten Hopp 885923
  		    {
Karsten Hopp 885923
  			if (*p == ' ')
Karsten Hopp 885923
  			    /* argument starts after a space */
Karsten Hopp 885923
  			    arg = p + 1;
Karsten Hopp 885923
! 			else if (*p == '\\' && *(p + 1) != NUL)
Karsten Hopp 885923
! 			    ++p; /* skip over escaped character */
Karsten Hopp 885923
! 			mb_ptr_adv(p);
Karsten Hopp 885923
  		    }
Karsten Hopp 885923
  		    xp->xp_pattern = arg;
Karsten Hopp 885923
  		}
Karsten Hopp 885923
*** ../vim-7.3.616/src/version.c	2012-07-27 21:05:51.000000000 +0200
Karsten Hopp 885923
--- src/version.c	2012-07-27 21:08:31.000000000 +0200
Karsten Hopp 885923
***************
Karsten Hopp 885923
*** 716,717 ****
Karsten Hopp 885923
--- 716,719 ----
Karsten Hopp 885923
  {   /* Add new patch number below this line */
Karsten Hopp 885923
+ /**/
Karsten Hopp 885923
+     617,
Karsten Hopp 885923
  /**/
Karsten Hopp 885923
Karsten Hopp 885923
-- 
Karsten Hopp 885923
If Microsoft would build a car...
Karsten Hopp 885923
... You'd have to press the "Start" button to turn the engine off.
Karsten Hopp 885923
Karsten Hopp 885923
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 885923
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 885923
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 885923
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///