To: vim-dev@vim.org Subject: Patch 6.1.224 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.224 Problem: "expand('$VAR')" returns an empty string when the expanded $VAR is not an existing file. (Aric Blumer) Solution: Included non-existing files, as documented. Files: src/eval.c *** ../vim61.223/src/eval.c Sun Oct 13 20:08:13 2002 --- src/eval.c Fri Oct 11 19:44:18 2002 *************** *** 3467,3473 **** char_u *s; int len; char_u *errormsg; ! int flags = WILD_SILENT|WILD_USE_NL; expand_T xpc; retvar->var_type = VAR_STRING; --- 3467,3473 ---- char_u *s; int len; char_u *errormsg; ! int flags = WILD_SILENT|WILD_USE_NL|WILD_LIST_NOTFOUND; expand_T xpc; retvar->var_type = VAR_STRING; *** ../vim61.223/src/version.c Mon Oct 14 20:18:19 2002 --- src/version.c Mon Oct 14 20:20:08 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 224, /**/ -- hundred-and-one symptoms of being an internet addict: 218. Your spouse hands you a gift wrapped magnet with your PC's name on it and you accuse him or her of genocide. /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///