patch 8.2.0337: build fails on a few systems
Problem: Build fails on a few systems. Solution: Use vim_snprintf() instead of snprintf().
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -738,6 +738,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
337,
|
||||
/**/
|
||||
336,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user