Changeset: 11f1df53df0f for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=11f1df53df0f Modified Files: gdk/gdk_utils.c Branch: default Log Message:
Remove signal handling that just results in exit anyway. diffs (40 lines): diff --git a/gdk/gdk_utils.c b/gdk/gdk_utils.c --- a/gdk/gdk_utils.c +++ b/gdk/gdk_utils.c @@ -236,36 +236,12 @@ BATSIGabort(int nr) #endif #ifndef NATIVE_WIN32 -static void -BATSIGinterrupt(int nr) -{ - GDKexit(nr); -} - static int BATSIGinit(void) { -/* HACK to pacify compiler */ -#if (defined(__INTEL_COMPILER) && (SIZEOF_VOID_P > SIZEOF_INT)) -#undef SIG_IGN /*((__sighandler_t)1 ) */ -#define SIG_IGN ((__sighandler_t)1L) -#endif - #ifdef SIGPIPE (void) signal(SIGPIPE, SIG_IGN); #endif -#ifdef __SIGRTMIN - (void) signal(__SIGRTMIN + 1, SIG_IGN); -#endif -#ifdef SIGHUP - (void) signal(SIGHUP, MT_global_exit); -#endif -#ifdef SIGINT - (void) signal(SIGINT, BATSIGinterrupt); -#endif -#ifdef SIGTERM - (void) signal(SIGTERM, BATSIGinterrupt); -#endif return 0; } #endif /* NATIVE_WIN32 */ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list