1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 06:46:38 +02:00

fifo: ignore error ECOMM only on Cygwin (fix compilaton on FreeBSD)

This commit is contained in:
Sébastien Helleu
2015-06-07 19:26:17 +02:00
parent f21adaa6ab
commit 799b0caaf2
+4
View File
@@ -357,7 +357,11 @@ fifo_read (void *data, int fd)
{
if (num_read < 0)
{
#ifdef __CYGWIN__
if ((errno == EAGAIN) || (errno == ECOMM))
#else
if (errno == EAGAIN)
#endif /* __CYGWIN__ */
return WEECHAT_RC_OK;
weechat_printf (NULL,