Typo in 2.2.0p1 ??

Philippe WILLEM Philippe.WILLEM at urssaf.fr
Fri Oct 27 21:32:04 EST 2000



I don't already figure out what is the real impact of this but I think there is
a typo in function sigchld_handler() in serverloop.c (l 75).

It is written

if (WIFEXITED(child_wait_status) ||
     WIFSIGNALED(child_wait_status))
     child_terminated = 1;
     child_has_selected = 0;

But I think one actually means:

if (WIFEXITED(child_wait_status) ||
     WIFSIGNALED(child_wait_status)) {
     child_terminated = 1;
     child_has_selected = 0;
}


Regards,

Philippe







More information about the openssh-unix-dev mailing list