openssh and DOS

Niels Provos provos at citi.umich.edu
Sun Nov 21 07:50:26 EST 1999


we committed the following patch for that problem

> Index: sshd.c 
> =================================================================== 
> RCS file: /cvs/src/usr.bin/ssh/sshd.c,v 
> retrieving revision 1.59 
> diff -u -r1.59 sshd.c 
> --- sshd.c    1999/11/19 19:58:18     1.59 
> +++ sshd.c    1999/11/20 19:43:46 
> @@ -170,7 +170,10 @@ 
>  { 
>    int save_errno = errno; 
>    int status; 
> -  wait(&status); 
> + 
> +  while (waitpid(-1, &status, WNOHANG) > 0) 
> +     ; 
> + 
>    signal(SIGCHLD, main_sigchld_handler); 
>    errno = save_errno; 
>  } 

greetings,
 niels.





More information about the openssh-unix-dev mailing list