diff options
author | Sam Bingner <sam@bingner.com> | 2018-08-03 15:06:38 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-08-03 15:06:38 -1000 |
commit | 135b410607f008d3709a7b1374f3f37924eb9fe4 (patch) | |
tree | f4756ef3a354f6001360db894db010df85177f76 /data/vim/patches/8.1.0016 | |
parent | bd1eb51da0d3f250793e1868d73babdf495c921f (diff) |
Update vim
Diffstat (limited to 'data/vim/patches/8.1.0016')
-rw-r--r-- | data/vim/patches/8.1.0016 | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.0016 b/data/vim/patches/8.1.0016 new file mode 100644 index 000000000..0ecad20a9 --- /dev/null +++ b/data/vim/patches/8.1.0016 @@ -0,0 +1,61 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.0016 +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.0016 +Problem: Possible crash in term_wait(). (Dominique Pelle) +Solution: Check for a valid buffer after ui_delay(). (closes #2944) +Files: src/terminal.c + + +*** ../vim-8.1.0015/src/terminal.c 2018-05-21 18:47:47.496590765 +0200 +--- src/terminal.c 2018-05-21 22:47:11.788087575 +0200 +*************** +*** 5264,5274 **** + { + mch_check_messages(); + parse_queued_messages(); + if (!buf_valid(buf)) + /* If the terminal is closed when the channel is closed the + * buffer disappears. */ + break; +- ui_delay(10L, FALSE); + } + mch_check_messages(); + parse_queued_messages(); +--- 5264,5274 ---- + { + mch_check_messages(); + parse_queued_messages(); ++ ui_delay(10L, FALSE); + if (!buf_valid(buf)) + /* If the terminal is closed when the channel is closed the + * buffer disappears. */ + break; + } + mch_check_messages(); + parse_queued_messages(); +*** ../vim-8.1.0015/src/version.c 2018-05-21 18:47:47.500590743 +0200 +--- src/version.c 2018-05-21 22:49:40.782890938 +0200 +*************** +*** 763,764 **** +--- 763,766 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 16, + /**/ + +-- +DENNIS: You can't expect to wield supreme executive power just 'cause some + watery tart threw a sword at you! + "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD + + /// 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 /// |