Skip to content
Snippets Groups Projects
Commit 41a62d57 authored by rds's avatar rds
Browse files

reset _the_ signal handler to default, rather than just SEGV! Doh!

parent fec01bf0
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment