1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

fifo: fix send error on Cygwin when something is received in the pipe (closes #436)

This commit is contained in:
Sébastien Helleu
2015-06-07 19:17:49 +02:00
parent 00abc2bde5
commit f21adaa6ab
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -23,6 +23,8 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
=== Bugs fixed
* fifo: fix send error on Cygwin when something is received in the pipe
(closes #436)
* irc: fix errors displayed on WHOX messages received (closes #376)
* lua: add detection of Lua 5.3
* xfer: fix parsing of DCC chat messages (handle "\r\n" at the end of messages)
+1 -1
View File
@@ -357,7 +357,7 @@ fifo_read (void *data, int fd)
{
if (num_read < 0)
{
if (errno == EAGAIN)
if ((errno == EAGAIN) || (errno == ECOMM))
return WEECHAT_RC_OK;
weechat_printf (NULL,