]> granicus.if.org Git - vim/commitdiff
patch 7.4.1991 v7.4.1991
authorBram Moolenaar <Bram@vim.org>
Thu, 7 Jul 2016 12:29:10 +0000 (14:29 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 7 Jul 2016 12:29:10 +0000 (14:29 +0200)
Problem:    glob() does not add a symbolic link when there are no wildcards.
Solution:   Remove the call to mch_getperm().

src/misc1.c
src/version.c

index b5394a410d35287dc21b7698c92a19637ec8b9fc..a39658e38b37114a307b371f9ee926b0826334ba 100644 (file)
@@ -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);
        }
index f86eccff0884a5cd2088799a09c28c81678e8fba..c6ab5f4a8e538e71a10eb587156c171a18bde959 100644 (file)
@@ -758,6 +758,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1991,
 /**/
     1990,
 /**/