From: Nishi Date: Wed, 9 Oct 2024 11:13:35 +0000 (+0000) Subject: ignore EINTR X-Git-Url: https://git.chaotic.ninja/gitweb/nishi/?a=commitdiff_plain;h=24dc43399f43cd473ed7d2e8810f7733ca3b99a1;p=tewi.git ignore EINTR git-svn-id: file:///raid/svn-personal/tewi/trunk@296 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Server/server.c b/Server/server.c index 84e24dd..35ba5b2 100644 --- a/Server/server.c +++ b/Server/server.c @@ -977,6 +977,7 @@ void tw_server_loop(void) { #endif if(ret == -1) { #if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__) + if(errno == EINTR) continue; cm_log("Server", "Select failure: %s", strerror(errno)); #endif break;