0
0
mirror of https://github.com/vim/vim.git synced 2025-10-17 07:44:28 -04:00

patch 7.4.1369

Problem:    Channels don't have a queue for stderr.
Solution:   Have a queue for each part of the channel.
This commit is contained in:
Bram Moolenaar
2016-02-20 18:18:59 +01:00
parent 914331648d
commit 42d38a2db1
7 changed files with 439 additions and 360 deletions

View File

@@ -1930,15 +1930,15 @@ process_message(void)
#ifdef FEAT_CHANNEL
if (msg.message == WM_NETBEANS)
{
int what;
channel_T *channel = channel_fd2channel((sock_T)msg.wParam, &what);
int part;
channel_T *channel = channel_fd2channel((sock_T)msg.wParam, &part);
if (channel != NULL)
{
/* Disable error messages, they can mess up the display and throw
* an exception. */
++emsg_off;
channel_read(channel, what, "process_message");
channel_read(channel, part, "process_message");
--emsg_off;
}
return;