Re: Squid version 1.0.0 now available!

From: Luke Howard <lukeh@dont-contact.us>
Date: Tue, 2 Jul 96 16:20:43 +1000

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.com
Received 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