Patch 8.1.0548
Problem:    Crash when job callback unloads a buffer. (James McCoy)
Solution:   Don't round up the wait time to 10 msec in ui_inchar().
Files:      src/ui.c


*** ../vim-8.1.0547/src/ui.c    2018-11-20 02:42:37.111373664 +0100
--- src/ui.c    2018-11-26 20:50:54.398315964 +0100
***************
*** 154,161 ****
        static int count = 0;
  
  # ifndef NO_CONSOLE
!       retval = mch_inchar(buf, maxlen, (wtime >= 0 && wtime < 10)
!                                               ? 10L : wtime, tb_change_cnt);
        if (retval > 0 || typebuf_changed(tb_change_cnt) || wtime >= 0)
            goto theend;
  # endif
--- 154,160 ----
        static int count = 0;
  
  # ifndef NO_CONSOLE
!       retval = mch_inchar(buf, maxlen, wtime, tb_change_cnt);
        if (retval > 0 || typebuf_changed(tb_change_cnt) || wtime >= 0)
            goto theend;
  # endif
*** ../vim-8.1.0547/src/version.c       2018-11-25 05:06:34.947950996 +0100
--- src/version.c       2018-11-26 21:18:49.601434988 +0100
***************
*** 794,795 ****
--- 794,797 ----
  {   /* Add new patch number below this line */
+ /**/
+     548,
  /**/

-- 
Men may not be seen publicly in any kind of strapless gown.
                [real standing law in Florida, United States of America]

 /// Bram Moolenaar -- b...@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    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui