[mew-int 00605] Solaris sigset_t

Terry Gliedt tpg at example.com
Tue Nov 27 05:14:08 JST 2001


On Solaris 7 the compile of mgp.c failed because sigset_t was not defined. As
near as I can make out the type sigset_t is something added in Linux, but which
has not yet arrived on Solaris (so what else is new?). Anyway, I managed to
overwhelm this by simply changing

susp(int sig)
{
	sigset_t mask;

and 

cleanup(int sig)
{
	sigset_t mask;


to use 'int mask'.  This could possibly be wrong in Solaris or even other
architectures, but so far I've not had any segment faults, but then I've not
tried mgp a large number of times/ways.

-- 
=============================================================
Terry Gliedt     tpg at example.com       http://www.hps.com/~tpg/
Biostatistics, Univ of Michigan  Personal Email:  tpg at example.com



More information about the Mew-int mailing list