OpenSSH 2.5.0p1

Tim Rice tim at multitalents.net
Sun Feb 18 11:07:33 EST 2001


On Sat, 17 Feb 2001, Kevin Steves wrote:

> On Fri, 16 Feb 2001, Tim Rice wrote:
> : Attached is a patch that fixes SCO Open Server 3
> 
> this means that SCO has sigaction() but no SA_RESTART flag?

That's right.

> 
> --- openssh_cvs/misc.c.old	Fri Feb 16 18:15:19 2001
> +++ openssh_cvs/misc.c	Fri Feb 16 19:07:03 2001
> @@ -108,8 +108,10 @@
>  		memset(&sa, 0, sizeof sa);
>  		sigemptyset(&sa.sa_mask);
>  		sa.sa_flags = 0;
> +#ifdef SA_RESTART
>  		if (sig == SIGCHLD)
>  			sa.sa_flags |= SA_RESTART;
> +#endif
>  		sa.sa_handler = act;
>  		if (sigaction(sig, &sa, 0) == -1)
>  			return (mysig_t) -1;
> 

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net







More information about the openssh-unix-dev mailing list