diff options
author | Sam Bingner <sam@bingner.com> | 2018-12-13 15:11:52 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-12-13 15:11:52 -1000 |
commit | 957aa75d05c00731d7112bed7b68ce4568667d0c (patch) | |
tree | 0445216818495a7864eaa3acde1a1570d34b958d /data/vim/patches/8.1.0548 | |
parent | c54a909c8b5a8519130803cf55f68603c0ad3682 (diff) |
Update vim
Diffstat (limited to 'data/vim/patches/8.1.0548')
-rw-r--r-- | data/vim/patches/8.1.0548 | 53 |
1 files changed, 53 insertions, 0 deletions
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 <Bram@moolenaar.net> +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 /// |