Permalink
Browse files

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.
  • Loading branch information...
brammool committed Apr 5, 2018
1 parent 86676c9 commit 3aa67fb453373109132b71eeb488595d651dfb7d
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/terminal.c
  2. +2 −0 src/version.c
@@ -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,
/**/

0 comments on commit 3aa67fb

Please sign in to comment.