[Bug 967] Command only sessions hangs on target system.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Jan 10 23:26:33 EST 2005


------- Additional Comments From dtucker at zip.com.au  2005-01-10 23:26 -------
Created an attachment (id=763)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=763&action=view)
check for pending child after setting up handler

Here's a patch to try, against 3.9p1.  It will (assuming I got it right :-)
check for a pending child and set the appropriate flags immediately after
setting up the SIGCHLD handler.

I would guess that the reason it doesn't happen with debugging on is that the
debugging changes the timing enough for it miss the window.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the openssh-bugs mailing list