changeset 19560:df0a6cba5c3d v8.2.0337

patch 8.2.0337: build fails on a few systems Commit: https://github.com/vim/vim/commit/b54b8e0c86b0590394803157818c72412a6f0b6a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 1 01:05:53 2020 +0100 patch 8.2.0337: build fails on a few systems Problem: Build fails on a few systems. Solution: Use vim_snprintf() instead of snprintf().
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Mar 2020 01:15:54 +0100
parents 0957ce5072d4
children 8d05000d0f1e
files src/cmdexpand.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }
 
--- 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,