[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] make EAGAIN == EWOULDBLOCK on Windows
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] make EAGAIN == EWOULDBLOCK on Windows |
Date: |
Fri, 03 Oct 2008 17:07:58 +0200 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
> The drawback of this move is that
>
> errno = EWOULDBLOCK;
> perror ("");
>
> now prints "Resource temporarily unavailable", where before it printed
> "Operation would block". But that's like on Linux. That's the "feature"
> you get by merging two error codes into a single one.
Yes, that was expected.
Patch ok for me too, thanks!
Paolo