On 09/03/2016 18:28, Daniel P. Berrange wrote: > + case WSAEWOULDBLOCK: > + return EWOULDBLOCK;
On mingw EAGAIN != EWOULDBLOCK. Can you instead return EAGAIN here, so that we can get rid of the "... || errno == EWOULDBLOCK" everywhere? Paolo
On 09/03/2016 18:28, Daniel P. Berrange wrote: > + case WSAEWOULDBLOCK: > + return EWOULDBLOCK;
On mingw EAGAIN != EWOULDBLOCK. Can you instead return EAGAIN here, so that we can get rid of the "... || errno == EWOULDBLOCK" everywhere? Paolo