summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-01 01:05:53 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-01 01:05:53 +0100
commitb54b8e0c86b0590394803157818c72412a6f0b6a (patch)
treed9c7e25bf4bfb8ef72ccd4d8a2cee5049a5c7585 /src
parent42a480bf7243ea8bce498264911e187931d083e5 (diff)
downloadvim-git-b54b8e0c86b0590394803157818c72412a6f0b6a.tar.gz
patch 8.2.0337: build fails on a few systemsv8.2.0337
Problem: Build fails on a few systems. Solution: Use vim_snprintf() instead of snprintf().
Diffstat (limited to 'src')
-rw-r--r--src/cmdexpand.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index ece5a468b..1f70dc58e 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -2124,7 +2124,7 @@ ExpandFromContext(
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 06b951181..6c519cb34 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 337,
+/**/
336,
/**/
335,