commit | 8b877ac38e96424a08a8b8eb713ef4b3cf0064be | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Mar 28 19:16:20 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Mar 28 19:16:20 2016 +0200 |
tree | c72ac7aa90e66ad1e6d6c82fb27ab7d74de3eea9 | |
parent | ee1f7b3cb71684aaa9bf457e2caf9d02187e6b7c [diff] [blame] |
patch 7.4.1669 Problem: When writing buffer lines to a pipe Vim may block. Solution: Avoid blocking, write more lines later.
diff --git a/src/misc2.c b/src/misc2.c index ca340b7..a0cce07 100644 --- a/src/misc2.c +++ b/src/misc2.c
@@ -6230,6 +6230,9 @@ netbeans_parse_messages(); # endif # ifdef FEAT_JOB_CHANNEL + /* Write any buffer lines still to be written. */ + channel_write_any_lines(); + /* Process the messages queued on channels. */ channel_parse_messages(); # endif