Index: src/ports/macosx/sys_osx.m===================================================================--- src/ports/macosx/sys_osx.m (Revision 9943)+++ src/ports/macosx/sys_osx.m (Arbeitskopie)@@ -237,6 +237,14 @@ } /**+ * @brief+ */+static void signal_handler (int sig)+{+ printf("Received signal %d\n", sig);+}++/** * @brief The entry point for OSX server and client. * * Inits the the program and calls Qcommon in an infinite loop.@@ -261,6 +269,8 @@ fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY); }+ signal(SIGPIPE, signal_handler);+ while (1) Qcommon_Frame();