commit | 00efded1064427ab3f84e4d57af62e0aab876fc6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 07 14:29:10 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 07 14:29:10 2016 +0200 |
tree | 05f2784ee424f2ae924c316081433e4d0061d778 | |
parent | 80632db65e8f5f775dadbbc10c5ba6c173ebb24f [diff] [blame] |
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 index b5394a4..a39658e 100644 --- a/src/misc1.c +++ b/src/misc1.c
@@ -10864,7 +10864,7 @@ * "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); }