No, absolutely.  On the platforms which actually try to implement this sa_sigaction value it needs to be set, even if it is just to NULL.

The problem is the compile errors one gets if that value is not part of the sigaction struct.

It's a question of... is it easier to do this:

#ifdef Solaris

or this:

#ifndef NetBSD and Linux and this and that and the_other_thing


All right, for now I'll just suggest putting '#ifndef NetBSD' around that one line. :)




---------- Original Message ----------------------------------
From: Trent Piepho <xyzzy at speakeasy.org>
Date: Mon, 21 Aug 2000 01:48:36 -0700 (PDT)

>On Mon, 21 Aug 2000, Steve Sheldon wrote:
>> Ok, I bought a DECstation 5000/133 for nostalgia sake, and am trying to get
>> a Netrek server up and running on it.
>> 
>> Couple of notes:
>> 
>> In tools/update.c on line 201 is this line:
>> 
>>   action.sa_sigaction = NULL;
>> 
>> There is no sa_sigaction as a member of the sigaction struct under NetBSD.
>> Nor is there under Linux, although there is this sa_restorer which says it
>> shouldn't be used.
>
>Solaris has sa_sigaction.  I was under the impression that it was not being
>used by setting it to NULL, otherwise it's going to have some random value.
>
>_______________________________________________
>vanilla-list mailing list
>vanilla-list at us.netrek.org
>https://mailman.real-time.com/mailman/listinfo/vanilla-list
>