version 1.60 | | version 1.61 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.60 2005/04/17 04:25:55 mwedel Exp $"; | | * "$Id: init.c,v 1.61 2005/05/06 21:10:25 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* be looked at later on, and maybe fix the problem that caused it to | | * be looked at later on, and maybe fix the problem that caused it to |
* dump core. There is no reason that SIGPIPES should be fatal | | * dump core. There is no reason that SIGPIPES should be fatal |
*/ | | */ |
| | LOG(llevError,"\nSIGPIPE--------------\n------------\n--------\n---\n"); |
#if 1 && !defined(WIN32) /* ***win32: we don't want send SIGPIPE */ | | #if 1 && !defined(WIN32) /* ***win32: we don't want send SIGPIPE */ |
LOG(llevInfo,"\nReceived SIGPIPE, ignoring...\n"); | | LOG(llevInfo,"\nReceived SIGPIPE, ignoring...\n"); |
signal(SIGPIPE,rec_sigpipe);/* hocky-pux clears signal handlers */ | | signal(SIGPIPE,rec_sigpipe);/* hocky-pux clears signal handlers */ |
| | |
#ifndef DEBUG | | #ifndef DEBUG |
signal(SIGQUIT,rec_sigquit); | | signal(SIGQUIT,rec_sigquit); |
signal(SIGSEGV,rec_sigsegv); | | signal(SIGSEGV,rec_sigsegv); |
| | LOG(llevInfo,"\n---------registering SIGPIPE\n"); |
signal(SIGPIPE,rec_sigpipe); | | signal(SIGPIPE,rec_sigpipe); |
#ifdef SIGBUS | | #ifdef SIGBUS |
signal(SIGBUS,rec_sigbus); | | signal(SIGBUS,rec_sigbus); |