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:
@@ -10746,7 +10746,11 @@ arg_all()
|
|||||||
}
|
}
|
||||||
for ( ; *p != NUL; ++p)
|
for ( ; *p != NUL; ++p)
|
||||||
{
|
{
|
||||||
if (*p == ' ' || *p == '\\')
|
if (*p == ' '
|
||||||
|
#ifndef BACKSLASH_IN_FILENAME
|
||||||
|
|| *p == '\\'
|
||||||
|
#endif
|
||||||
|
)
|
||||||
{
|
{
|
||||||
/* insert a backslash */
|
/* insert a backslash */
|
||||||
if (retval != NULL)
|
if (retval != NULL)
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
737,
|
||||||
/**/
|
/**/
|
||||||
736,
|
736,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user