[PATCH] os: Select can not fail with EAGAIN. Don't check for it in WaitForSomething.
Fernando Carrijo
fcarrijo at yahoo.com.br
Tue Aug 3 13:19:47 PDT 2010
Signed-off-by: Fernando Carrijo <fcarrijo at yahoo.com.br>
---
os/WaitFor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/os/WaitFor.c b/os/WaitFor.c
index e663004..c625937 100644
--- a/os/WaitFor.c
+++ b/os/WaitFor.c
@@ -248,7 +248,7 @@ WaitForSomething(int *pClientsReady)
FatalError("WaitForSomething(): select: %s\n",
strerror(selecterr));
}
- else if (selecterr != EINTR && selecterr != EAGAIN)
+ else if (selecterr != EINTR)
{
ErrorF("WaitForSomething(): select: %s\n",
strerror(selecterr));
--
1.7.0.4
--=-=-=--
More information about the xorg-devel
mailing list