From 957aa75d05c00731d7112bed7b68ce4568667d0c Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Thu, 13 Dec 2018 15:11:52 -1000 Subject: Update vim --- data/vim/patches/8.1.0548 | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 data/vim/patches/8.1.0548 (limited to 'data/vim/patches/8.1.0548') diff --git a/data/vim/patches/8.1.0548 b/data/vim/patches/8.1.0548 new file mode 100644 index 000000000..905c7b713 --- /dev/null +++ b/data/vim/patches/8.1.0548 @@ -0,0 +1,53 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.0548 +Fcc: outbox +From: Bram Moolenaar +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +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 -- 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 /// -- cgit v1.2.3