Patch 8.2.0337
Problem: Build fails on a few systems.
Solution: Use vim_snprintf() instead of snprintf().
Files: src/cmdexpand.c
*** ../vim-8.2.0336/src/cmdexpand.c 2020-02-29 22:06:25.643709256 +0100
--- src/cmdexpand.c 2020-03-01 01:04:51.555884622 +0100
***************
*** 2124,2130 ****
int len = (int)STRLEN(pat) + 20;
tofree = alloc(len);
! snprintf((char *)tofree, len, "^<SNR>\\d\\+_%s", pat + 3);
pat = tofree;
}
--- 2124,2130 ----
int len = (int)STRLEN(pat) + 20;
tofree = alloc(len);
! vim_snprintf((char *)tofree, len, "^<SNR>\\d\\+_%s", pat + 3);
pat = tofree;
}
*** ../vim-8.2.0336/src/version.c 2020-02-29 23:23:44.484659204 +0100
--- src/version.c 2020-03-01 01:05:36.083742524 +0100
***************
*** 740,741 ****
--- 740,743 ----
{ /* Add new patch number below this line */
+ /**/
+ 337,
/**/
--
hundred-and-one symptoms of being an internet addict:
140. You'd rather catch a score on the web than watch the game as
it is being played on tv.
/// 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/202003010006.02106Krf028364%40masaka.moolenaar.net.