mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
vim-patch:7.4.1991
Problem: glob() does not add a symbolic link when there are no wildcards.
Solution: Remove the call to mch_getperm().
00efded106
This commit is contained in:
@@ -1225,7 +1225,7 @@ int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file,
|
||||
* "vim c:/" work. */
|
||||
if (flags & EW_NOTFOUND) {
|
||||
addfile(&ga, t, flags | EW_DIR | EW_FILE);
|
||||
} else if (os_path_exists(t)) {
|
||||
} else {
|
||||
addfile(&ga, t, flags);
|
||||
}
|
||||
xfree(t);
|
||||
|
@@ -449,7 +449,7 @@ static int included_patches[] = {
|
||||
// 1994,
|
||||
// 1993,
|
||||
// 1992,
|
||||
// 1991,
|
||||
1991,
|
||||
1990,
|
||||
1989,
|
||||
// 1988 NA
|
||||
|
Reference in New Issue
Block a user