]> Git repositories of Nishi - tewi.git/commitdiff
ignore EINTR
authorNishi <nishi@nishi.boats>
Wed, 9 Oct 2024 11:13:35 +0000 (11:13 +0000)
committerNishi <nishi@nishi.boats>
Wed, 9 Oct 2024 11:13:35 +0000 (11:13 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@296 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/server.c

index 84e24dd1669de8275cef5d34a6e744dce81e73a1..35ba5b28bc749724b7eb40cab3feda6db3fe170c 100644 (file)
@@ -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;