To: vim_dev@googlegroups.com Subject: Patch 8.2.4337 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4337 Problem: Part of condition is always true. Solution: Remove that part of the condition. (closes #9729) Files: src/filepath.c *** ../vim-8.2.4336/src/filepath.c 2022-02-03 13:32:59.266208214 +0000 --- src/filepath.c 2022-02-09 15:19:08.483321347 +0000 *************** *** 416,422 **** // Need full path first (use expand_env() to remove a "~/") if (!has_fullname && !has_homerelative) { ! if ((c == '.' || c == '~') && **fnamep == '~') p = pbuf = expand_env_save(*fnamep); else p = pbuf = FullName_save(*fnamep, FALSE); --- 416,422 ---- // Need full path first (use expand_env() to remove a "~/") if (!has_fullname && !has_homerelative) { ! if (**fnamep == '~') p = pbuf = expand_env_save(*fnamep); else p = pbuf = FullName_save(*fnamep, FALSE); *** ../vim-8.2.4336/src/version.c 2022-02-09 14:31:02.380030992 +0000 --- src/version.c 2022-02-09 15:20:04.147239368 +0000 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 4337, /**/ -- How To Keep A Healthy Level Of Insanity: 9. As often as possible, skip rather than walk. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///