Revert brain fart

This reverts commit cc511fd65b.
This commit is contained in:
Eelco Dolstra 2012-12-18 20:43:47 +01:00
parent cc511fd65b
commit 228ea7c2f9

View file

@ -3141,8 +3141,6 @@ void Worker::waitForInput()
}
}
assert(fdMax != 0);
if (select(fdMax, &fds, 0, 0, useTimeout ? &timeout : 0) == -1) {
if (errno == EINTR) return;
throw SysError("waiting for input");