mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.1664: test failure because of not allocating enough space
Problem: Test failure because of not allocating enough space. Solution: Allocate more bytes.
This commit is contained in:
@@ -3192,7 +3192,7 @@ handle_drop_command(listitem_T *item)
|
||||
p = get_dict_string(dict, (char_u *)"encoding", FALSE);
|
||||
if (p != NULL)
|
||||
{
|
||||
ea.cmd = alloc((int)STRLEN(p) + 10);
|
||||
ea.cmd = alloc((int)STRLEN(p) + 12);
|
||||
if (ea.cmd != NULL)
|
||||
{
|
||||
sprintf((char *)ea.cmd, "sbuf ++enc=%s", p);
|
||||
|
@@ -762,6 +762,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1664,
|
||||
/**/
|
||||
1663,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user