1
0
forked from aniani/vim

patch 7.4.737

Problem:    On MS-Windows vimgrep over arglist doesn't work (Issue 361)
Solution:   Only escape backslashes in ## expansion when it is not used as the
            path separator. (James McCoy)
This commit is contained in:
Bram Moolenaar
2015-06-09 21:33:31 +02:00
parent b878bbbca6
commit 6e8d3b0d41
2 changed files with 7 additions and 1 deletions

View File

@@ -10746,7 +10746,11 @@ arg_all()
}
for ( ; *p != NUL; ++p)
{
if (*p == ' ' || *p == '\\')
if (*p == ' '
#ifndef BACKSLASH_IN_FILENAME
|| *p == '\\'
#endif
)
{
/* insert a backslash */
if (retval != NULL)

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
737,
/**/
736,
/**/