To: vim_dev@googlegroups.com Subject: Patch 7.4.1991 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1991 Problem: glob() does not add a symbolic link when there are no wildcards. Solution: Remove the call to mch_getperm(). Files: src/misc1.c *** ../vim-7.4.1990/src/misc1.c 2016-07-01 18:16:47.493936250 +0200 --- src/misc1.c 2016-07-07 14:16:10.101377163 +0200 *************** *** 10864,10870 **** * "vim c:/" work. */ if (flags & EW_NOTFOUND) addfile(&ga, t, flags | EW_DIR | EW_FILE); ! else if (mch_getperm(t) >= 0) addfile(&ga, t, flags); vim_free(t); } --- 10864,10870 ---- * "vim c:/" work. */ if (flags & EW_NOTFOUND) addfile(&ga, t, flags | EW_DIR | EW_FILE); ! else addfile(&ga, t, flags); vim_free(t); } *** ../vim-7.4.1990/src/version.c 2016-07-05 22:28:36.697675059 +0200 --- src/version.c 2016-07-06 23:01:29.407210960 +0200 *************** *** 760,761 **** --- 760,763 ---- { /* Add new patch number below this line */ + /**/ + 1991, /**/ -- 'Psychologist' -- Someone who looks at everyone else when an attractive woman enters the room. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///