OpenSSH 2.5.0p1

Kevin Steves stevesk at sweden.hp.com
Sat Feb 17 22:14:00 EST 2001


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?

--- 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;






More information about the openssh-unix-dev mailing list