Karsten Hopp ca07cf
To: vim_dev@googlegroups.com
Karsten Hopp ca07cf
Subject: Patch 7.4.737
Karsten Hopp ca07cf
Fcc: outbox
Karsten Hopp ca07cf
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ca07cf
Mime-Version: 1.0
Karsten Hopp ca07cf
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ca07cf
Content-Transfer-Encoding: 8bit
Karsten Hopp ca07cf
------------
Karsten Hopp ca07cf
Karsten Hopp ca07cf
Patch 7.4.737
Karsten Hopp ca07cf
Problem:    On MS-Windows vimgrep over arglist doesn't work (Issue 361)
Karsten Hopp ca07cf
Solution:   Only escape backslashes in ## expansion when it is not used as the
Karsten Hopp ca07cf
            path separator. (James McCoy)
Karsten Hopp ca07cf
Files:      src/ex_docmd.c
Karsten Hopp ca07cf
Karsten Hopp ca07cf
Karsten Hopp ca07cf
*** ../vim-7.4.736/src/ex_docmd.c	2015-04-21 18:08:21.838719097 +0200
Karsten Hopp ca07cf
--- src/ex_docmd.c	2015-06-09 21:32:02.900492033 +0200
Karsten Hopp ca07cf
***************
Karsten Hopp ca07cf
*** 10746,10752 ****
Karsten Hopp ca07cf
  		}
Karsten Hopp ca07cf
  		for ( ; *p != NUL; ++p)
Karsten Hopp ca07cf
  		{
Karsten Hopp ca07cf
! 		    if (*p == ' ' || *p == '\\')
Karsten Hopp ca07cf
  		    {
Karsten Hopp ca07cf
  			/* insert a backslash */
Karsten Hopp ca07cf
  			if (retval != NULL)
Karsten Hopp ca07cf
--- 10746,10756 ----
Karsten Hopp ca07cf
  		}
Karsten Hopp ca07cf
  		for ( ; *p != NUL; ++p)
Karsten Hopp ca07cf
  		{
Karsten Hopp ca07cf
! 		    if (*p == ' '
Karsten Hopp ca07cf
! #ifndef BACKSLASH_IN_FILENAME
Karsten Hopp ca07cf
! 			    || *p == '\\'
Karsten Hopp ca07cf
! #endif
Karsten Hopp ca07cf
! 			    )
Karsten Hopp ca07cf
  		    {
Karsten Hopp ca07cf
  			/* insert a backslash */
Karsten Hopp ca07cf
  			if (retval != NULL)
Karsten Hopp ca07cf
*** ../vim-7.4.736/src/version.c	2015-06-09 20:39:04.322545425 +0200
Karsten Hopp ca07cf
--- src/version.c	2015-06-09 21:30:30.001492247 +0200
Karsten Hopp ca07cf
***************
Karsten Hopp ca07cf
*** 743,744 ****
Karsten Hopp ca07cf
--- 743,746 ----
Karsten Hopp ca07cf
  {   /* Add new patch number below this line */
Karsten Hopp ca07cf
+ /**/
Karsten Hopp ca07cf
+     737,
Karsten Hopp ca07cf
  /**/
Karsten Hopp ca07cf
Karsten Hopp ca07cf
-- 
Karsten Hopp ca07cf
From "know your smileys":
Karsten Hopp ca07cf
 :-D	Big smile
Karsten Hopp ca07cf
Karsten Hopp ca07cf
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ca07cf
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ca07cf
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ca07cf
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///