From 27da1367c9ea143946b8b8d3dbd0f9d44c4a9039 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Wed, 5 Dec 2007 19:36:59 +0000 Subject: [PATCH] WaitForSomething: Ignore EAGAIN If select ever returns EAGAIN, don't bother complaining. (cherry picked from commit 85dd8efac1bc0715f03c99d261b1c5d0980623e1) --- os/WaitFor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/WaitFor.c b/os/WaitFor.c index ec1592c01..65f53c5df 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -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);