mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.1991
Problem: glob() does not add a symbolic link when there are no wildcards. Solution: Remove the call to mch_getperm().
This commit is contained in:
@@ -10864,7 +10864,7 @@ gen_expand_wildcards(
|
|||||||
* "vim c:/" work. */
|
* "vim c:/" work. */
|
||||||
if (flags & EW_NOTFOUND)
|
if (flags & EW_NOTFOUND)
|
||||||
addfile(&ga, t, flags | EW_DIR | EW_FILE);
|
addfile(&ga, t, flags | EW_DIR | EW_FILE);
|
||||||
else if (mch_getperm(t) >= 0)
|
else
|
||||||
addfile(&ga, t, flags);
|
addfile(&ga, t, flags);
|
||||||
vim_free(t);
|
vim_free(t);
|
||||||
}
|
}
|
||||||
|
@@ -758,6 +758,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 */
|
||||||
|
/**/
|
||||||
|
1991,
|
||||||
/**/
|
/**/
|
||||||
1990,
|
1990,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user