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:
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user