# HG changeset patch # User Christian Brabandt # Date 1522955705 -7200 # Node ID 200ef826e7ddc8419fb453bd72433188f208e66d # Parent f6936cd9126eec186f18654638ad733e407e0b63 patch 8.0.1664: test failure because of not allocating enough space commit https://github.com/vim/vim/commit/3aa67fb453373109132b71eeb488595d651dfb7d Author: Bram Moolenaar Date: Thu Apr 5 21:04:15 2018 +0200 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. diff --git a/src/terminal.c b/src/terminal.c --- a/src/terminal.c +++ b/src/terminal.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); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1664, +/**/ 1663, /**/ 1662,