Updated Cray patch against openssh SNAP-20010725
Kevin Steves
stevesk at pobox.com
Fri Jul 27 03:59:54 EST 2001
On Thu, 26 Jul 2001, William L. Jones wrote:
:I made the change based on the following logic:
:
: 1) If you have HAVE_SIGACTION then the signal is handler is not reset and
: thier is no need to reset it in the signal handler.
: 2) If you don't have HAVE_SIGACTION then the signal handler may or may not
: be reset. So I do the save thing a reset it.
:
:Since SIGACTION is a POSIX standered I can depened on 1.
:
:Case 2 insure that this code will work the same as it always does if
:you don't have SIGACTION.
if you have sigaction(), mysignal() will not reset the handler if it has
not changed, so no changes are required with the switch to mysignal. i
just commited a change so we use mysignal() entirely for proto 1 and 2
server loops.
look in misc.c for mysignal.
More information about the openssh-unix-dev
mailing list