Handle EWOULDBLOCK as EAGAIN if they happen to be different.

Fixes bug 7935.  Reported by 'oftc_must_be_destroyed'.
This commit is contained in:
Nick Mathewson
2013-01-11 16:27:45 -08:00
parent dffc8e359b
commit a5ee3834bf
3 changed files with 14 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor features (portability):
- Work correctly on unix systems where EAGAIN and EWOULDBLOCK are
separate error codes--or at least, don't break for that reason.
Fixes bug 7935. Reported by "oftc_must_be_destroyed".