WaitForSomething: Ignore EAGAIN

If select ever returns EAGAIN, don't bother complaining.
(cherry picked from commit 85dd8efac1)
This commit is contained in:
Daniel Stone 2007-12-05 19:36:59 +00:00
parent 259f86b13b
commit 27da1367c9

View file

@ -262,7 +262,7 @@ WaitForSomething(int *pClientsReady)
FatalError("WaitForSomething(): select: errno=%d\n",
selecterr);
}
else if (selecterr != EINTR)
else if (selecterr != EINTR && selecterr != EAGAIN)
{
ErrorF("WaitForSomething(): select: errno=%d\n",
selecterr);