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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui