diff src/misc1.c @ 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 32e34e574716
children b2aada04d84e
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);
 	}