From 41a62d5758348c9289adbe919d320e0e55d6824a Mon Sep 17 00:00:00 2001 From: rds <rds> Date: Tue, 7 Apr 2009 17:43:22 +0000 Subject: [PATCH] reset _the_ signal handler to default, rather than just SEGV! Doh! --- src/zmapUtils/zmapLogging.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zmapUtils/zmapLogging.c b/src/zmapUtils/zmapLogging.c index 21f8652b2..bfa77c30f 100755 --- a/src/zmapUtils/zmapLogging.c +++ b/src/zmapUtils/zmapLogging.c @@ -29,9 +29,9 @@ * * Exported functions: See zmapUtilsLog.h * HISTORY: - * Last edited: Jan 23 10:44 2009 (rds) + * Last edited: Apr 7 18:41 2009 (rds) * Created: Tue Apr 17 15:47:10 2007 (edgrif) - * CVS info: $Id: zmapLogging.c,v 1.19 2009-04-03 09:33:20 rds Exp $ + * CVS info: $Id: zmapLogging.c,v 1.20 2009-04-07 17:43:22 rds Exp $ *------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H @@ -336,7 +336,7 @@ void zMapSignalHandler(int sig_no) /* ensure we don't get back in here. */ /* If we return rather than exit, we'll also produce a core file. */ - signal(SIGSEGV, SIG_DFL); + signal(signo, SIG_DFL); switch(sig_no) { -- GitLab