Patch 8.2.4337

6 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 9, 2022, 10:21:38 AM2/9/22
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages