# HG changeset patch # User Christian Brabandt # Date 1467894606 -7200 # Node ID 9f78f3f0c81f8d4d33020ce615f4918dde8e3132 # Parent 435e0bfae17abef1976b836498b46aca3cde7a4a commit https://github.com/vim/vim/commit/00efded1064427ab3f84e4d57af62e0aab876fc6 Author: Bram Moolenaar Date: Thu Jul 7 14:29:10 2016 +0200 patch 7.4.1991 Problem: glob() does not add a symbolic link when there are no wildcards. Solution: Remove the call to mch_getperm(). diff --git a/src/misc1.c b/src/misc1.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -759,6 +759,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1991, +/**/ 1990, /**/ 1989,