To: vim_dev@googlegroups.com Subject: Patch 8.0.1664 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1664 Problem: Test failure because of not allocating enough space. Solution: Allocate more bytes. Files: src/terminal.c *** ../vim-8.0.1663/src/terminal.c 2018-04-05 18:45:22.220946159 +0200 --- src/terminal.c 2018-04-05 21:03:00.151351213 +0200 *************** *** 3192,3198 **** p = get_dict_string(dict, (char_u *)"encoding", FALSE); if (p != NULL) { ! ea.cmd = alloc((int)STRLEN(p) + 10); if (ea.cmd != NULL) { sprintf((char *)ea.cmd, "sbuf ++enc=%s", p); --- 3192,3198 ---- p = get_dict_string(dict, (char_u *)"encoding", FALSE); if (p != NULL) { ! ea.cmd = alloc((int)STRLEN(p) + 12); if (ea.cmd != NULL) { sprintf((char *)ea.cmd, "sbuf ++enc=%s", p); *** ../vim-8.0.1663/src/version.c 2018-04-05 18:56:42.394258079 +0200 --- src/version.c 2018-04-05 21:03:58.839051802 +0200 *************** *** 764,765 **** --- 764,767 ---- { /* Add new patch number below this line */ + /**/ + 1664, /**/ -- A meeting is an event at which the minutes are kept and the hours are lost. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///