mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +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);
|
||||
|
Reference in New Issue
Block a user