From a978d7d5a4c7bc58d3158910c03af0adab61b429 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 23 Dec 2006 16:15:06 +0000 Subject: [PATCH] Don't prevent core dumps by catching SIGABRT. It's rude and makes debugging unreasonable painful. --- jcc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jcc.c b/jcc.c index 71f89461..2dc0718e 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.109 2006/12/06 19:41:40 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.110 2006/12/13 14:52:53 etresoft Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -33,6 +33,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.109 2006/12/06 19:41:40 fabiankeil Exp $" * * Revisions : * $Log: jcc.c,v $ + * Revision 1.110 2006/12/13 14:52:53 etresoft + * Fix build failure on MacOS X. Global symbols can be either static or extern, but not both. + * * Revision 1.109 2006/12/06 19:41:40 fabiankeil * Privoxy is now able to run as intercepting * proxy in combination with any packet filter @@ -910,7 +913,6 @@ static void sig_handler(int the_signal) { switch(the_signal) { - case SIGABRT: case SIGTERM: case SIGINT: log_error(LOG_LEVEL_INFO, "exiting by signal %d .. bye", the_signal); @@ -2253,7 +2255,7 @@ int main(int argc, const char *argv[]) #if !defined(_WIN32) && !defined(__OS2__) && !defined(AMIGA) { int idx; - const int catched_signals[] = { SIGABRT, SIGTERM, SIGINT, SIGHUP, 0 }; + const int catched_signals[] = { SIGTERM, SIGINT, SIGHUP, 0 }; const int ignored_signals[] = { SIGPIPE, 0 }; for (idx = 0; catched_signals[idx] != 0; idx++) -- 2.39.2