=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh.c,v retrieving revision 1.69.2.6 retrieving revision 1.69.2.7 diff -u -r1.69.2.6 -r1.69.2.7 --- src/usr.bin/ssh/ssh.c 2001/11/15 00:15:00 1.69.2.6 +++ src/usr.bin/ssh/ssh.c 2001/11/15 22:50:30 1.69.2.7 @@ -39,7 +39,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.69.2.6 2001/11/15 00:15:00 miod Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.69.2.7 2001/11/15 22:50:30 miod Exp $"); #include #include @@ -123,14 +123,6 @@ /* socket address the host resolves to */ struct sockaddr_storage hostaddr; -/* - * Flag to indicate that we have received a window change signal which has - * not yet been processed. This will cause a message indicating the new - * window size to be sent to the server a little later. This is volatile - * because this is updated in a signal handler. - */ -volatile int received_window_change_signal = 0; - /* Private host keys. */ struct { Key **keys; @@ -739,6 +731,8 @@ tilde_expand_filename(options.system_hostfile2, original_real_uid); options.user_hostfile2 = tilde_expand_filename(options.user_hostfile2, original_real_uid); + + signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE early */ /* Log into the remote system. This never returns if the login fails. */ ssh_login(sensitive_data.keys, sensitive_data.nkeys,