patch 8.2.0337: build fails on a few systems
Problem: Build fails on a few systems.
Solution: Use vim_snprintf() instead of snprintf().
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index ece5a46..1f70dc5 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -2124,7 +2124,7 @@
int len = (int)STRLEN(pat) + 20;
tofree = alloc(len);
- snprintf((char *)tofree, len, "^<SNR>\\d\\+_%s", pat + 3);
+ vim_snprintf((char *)tofree, len, "^<SNR>\\d\\+_%s", pat + 3);
pat = tofree;
}
diff --git a/src/version.c b/src/version.c
index 06b9511..6c519cb 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 337,
+/**/
336,
/**/
335,