You wrote:
> I added
>
> #ifdef HAVE_SIGACTION
> squid_signal(SIGSEGV, death, SA_NODEFER | SA_RESETHAND);
> squid_signal(SIGBUS, death, SA_NODEFER | SA_RESETHAND);
> #else
> squid_signal(SIGSEGV, death, 0); squid_signal(SIGBUS, death, 0);
> #endif
We could probably do this with the preprocessor, eg.
#ifdef HAVE_SIGACTION
#define squid_signal(a,b,c) _squid_signal(a,b,c)
#else
#define squid_signal(a,b,c) _squid_signal(a,b,0)
#endif
and rename the code for squid_signal() accordingly.
--- Luke Howard lukeh@xedoc.com Xedoc Software http://www.xedoc.comReceived on Mon Jul 01 1996 - 23:22:05 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:34 MST