[m-dev.] diff: Fix signal handling.

Fergus Henderson fjh at cs.mu.OZ.AU
Mon May 18 18:35:01 AEST 1998


On 18-May-1998, Tyson Dowd <trd at stimpy.cs.mu.oz.au> wrote:
> 
>  void
> -MR_setup_signal(int sig, void *handler, int need_info, 
> +MR_setup_signal(int sig, Code *handler, int need_info, 
>                  const char *error_message)
>  {
> -#if     defined(HAVE_SIGINFO_T)
> +#if     defined(HAVE_SIGACTION)
>  
>          struct sigaction        act;
>  
>          if (need_info) {

The `need_info' parameter should have type `bool', not type `int'.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list