changeset 9420:9f78f3f0c81f v7.4.1991

commit https://github.com/vim/vim/commit/00efded1064427ab3f84e4d57af62e0aab876fc6 Author: Bram Moolenaar <Bram@vim.org> 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().
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Jul 2016 14:30:06 +0200
parents 435e0bfae17a
children ce8891614a89
files src/misc1.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 	}
--- 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,