Patch 8.2.0525 (after 8.2.0524)
Problem: Win32: typo in assignment and misplaced paren.
Solution: Fix the syntax.
Files: src/filepath.c
*** ../vim-8.2.0524/src/filepath.c 2020-04-06 22:56:24.815374403 +0200
--- src/filepath.c 2020-04-06 23:48:50.179603316 +0200
***************
*** 3168,3174 ****
break; // out of memory
if (*wfb.cAlternateFileName == NUL)
! p_alt == NULL;
else
p_alt = utf16_to_enc(wfb.cAlternateFileName, NULL);
--- 3168,3174 ----
break; // out of memory
if (*wfb.cAlternateFileName == NUL)
! p_alt = NULL;
else
p_alt = utf16_to_enc(wfb.cAlternateFileName, NULL);
***************
*** 3179,3188 ****
&& p[1] != NUL && (p[1] != '.' || p[2] != NUL)))
&& (matchname == NULL
|| (regmatch.regprog != NULL
! && (vim_regexec(®match, p, (colnr_T)0)
|| (p_alt != NULL
! && vim_regexec(®match, p_alt, (colnr_T)0)))
! ))
|| ((flags & EW_NOTWILD)
&& fnamencmp(path + (s - buf), p, e - s) == 0)))
{
--- 3179,3187 ----
&& p[1] != NUL && (p[1] != '.' || p[2] != NUL)))
&& (matchname == NULL
|| (regmatch.regprog != NULL
! && (vim_regexec(®match, p, (colnr_T)0)
|| (p_alt != NULL
! && vim_regexec(®match, p_alt, (colnr_T)0))))
|| ((flags & EW_NOTWILD)
&& fnamencmp(path + (s - buf), p, e - s) == 0)))
{
*** ../vim-8.2.0524/src/version.c 2020-04-06 22:56:24.815374403 +0200
--- src/version.c 2020-04-06 23:49:35.215430818 +0200
***************
*** 740,741 ****
--- 740,743 ----
{ /* Add new patch number below this line */
+ /**/
+ 525,
/**/
--
There are only two hard things in programming: Cache invalidation,
naming things and off-by-one errors.
/// Bram Moolenaar -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202004062150.036LoHuL010998%40masaka.moolenaar.net.