pty problems w/ Unixware

Damien Miller djm at mindrot.org
Fri Feb 2 09:39:54 EST 2001


On Thu, 1 Feb 2001, Kevin Steves wrote:

> On Thu, 1 Feb 2001, Damien Miller wrote:
> : This looks like another candidate for Kevin's mysignal() stuff. Kevin?
> 
> the mysignal() idea is from markus.  i implemented it with a change that
> checks whether we're re-installing the prior handler, and if so noops.
> 
> i've been using this patch for the protocol 2 SIGCHLD problem on hp-ux.  
> a s/signal/mysignal/ would be a next step.

Looks good to me. Doing this:

-		sa.sa_flags = 0;
+		sa.sa_flags = SA_RESTART;

Might also help the Unixware problem.

-d

-- 
| ``We've all heard that a million monkeys banging on | Damien Miller -
| a million typewriters will eventually reproduce the | <djm at mindrot.org>
| works of Shakespeare. Now, thanks to the Internet, / 
| we know this is not true.'' - Robert Wilensky UCB / http://www.mindrot.org







More information about the openssh-unix-dev mailing list