]> Nishi Git Mirror - tewi.git/commitdiff
fix select
authorNishi <nishi@nishi.boats>
Thu, 19 Sep 2024 13:16:59 +0000 (13:16 +0000)
committerNishi <nishi@nishi.boats>
Thu, 19 Sep 2024 13:16:59 +0000 (13:16 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@94 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/main.c

index cbad1c91aa9faeca5d0d5d6271bdfe08b809a6c3..84025900ce9649ba6a7cb65cc5d92273e4dccf64 100644 (file)
@@ -144,7 +144,9 @@ int startup(int argc, char** argv) {
 #ifndef __MINGW32__
        signal(SIGCHLD, SIG_IGN);
        signal(SIGPIPE, SIG_IGN);
-       signal(SIGTRAP, SIG_IGN);
+#ifdef __HAIKU__
+       signal(5, SIG_IGN);
+#endif
 #else
        SetConsoleTitle(tw_server);
 #endif