mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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);
|
p = get_dict_string(dict, (char_u *)"encoding", FALSE);
|
||||||
if (p != NULL)
|
if (p != NULL)
|
||||||
{
|
{
|
||||||
ea.cmd = alloc((int)STRLEN(p) + 10);
|
ea.cmd = alloc((int)STRLEN(p) + 12);
|
||||||
if (ea.cmd != NULL)
|
if (ea.cmd != NULL)
|
||||||
{
|
{
|
||||||
sprintf((char *)ea.cmd, "sbuf ++enc=%s", p);
|
sprintf((char *)ea.cmd, "sbuf ++enc=%s", p);
|
||||||
|
@@ -762,6 +762,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1664,
|
||||||
/**/
|
/**/
|
||||||
1663,
|
1663,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user