diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-28 19:16:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-28 19:16:20 +0200 |
commit | 8b877ac38e96424a08a8b8eb713ef4b3cf0064be (patch) | |
tree | c72ac7aa90e66ad1e6d6c82fb27ab7d74de3eea9 /src/misc2.c | |
parent | ee1f7b3cb71684aaa9bf457e2caf9d02187e6b7c (diff) | |
download | vim-8b877ac38e96424a08a8b8eb713ef4b3cf0064be.zip |
patch 7.4.1669
Problem: When writing buffer lines to a pipe Vim may block.
Solution: Avoid blocking, write more lines later.
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c index ca340b71e..a0cce07f6 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -6230,6 +6230,9 @@ parse_queued_messages(void) 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 |