From 00efded1064427ab3f84e4d57af62e0aab876fc6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 7 Jul 2016 14:29:10 +0200 Subject: patch 7.4.1991 Problem: glob() does not add a symbolic link when there are no wildcards. Solution: Remove the call to mch_getperm(). --- src/misc1.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/misc1.c b/src/misc1.c index b5394a410..a39658e38 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -10864,7 +10864,7 @@ gen_expand_wildcards( * "vim c:/" work. */ if (flags & EW_NOTFOUND) addfile(&ga, t, flags | EW_DIR | EW_FILE); - else if (mch_getperm(t) >= 0) + else addfile(&ga, t, flags); vim_free(t); } diff --git a/src/version.c b/src/version.c index f86eccff0..c6ab5f4a8 100644 --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1991, /**/ 1990, /**/ -- cgit v1.2.1