=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rlogin/Attic/rlogin.c,v retrieving revision 1.24 retrieving revision 1.25 diff -c -r1.24 -r1.25 *** src/usr.bin/rlogin/Attic/rlogin.c 2001/09/04 23:35:59 1.24 --- src/usr.bin/rlogin/Attic/rlogin.c 2001/10/02 01:14:55 1.25 *************** *** 1,4 **** ! /* $OpenBSD: rlogin.c,v 1.24 2001/09/04 23:35:59 millert Exp $ */ /* $NetBSD: rlogin.c,v 1.8 1995/10/05 09:07:22 mycroft Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: rlogin.c,v 1.25 2001/10/02 01:14:55 art Exp $ */ /* $NetBSD: rlogin.c,v 1.8 1995/10/05 09:07:22 mycroft Exp $ */ /* *************** *** 44,50 **** #if 0 static char sccsid[] = "@(#)rlogin.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: rlogin.c,v 1.24 2001/09/04 23:35:59 millert Exp $"; #endif #endif /* not lint */ --- 44,50 ---- #if 0 static char sccsid[] = "@(#)rlogin.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: rlogin.c,v 1.25 2001/10/02 01:14:55 art Exp $"; #endif #endif /* not lint */ *************** *** 712,718 **** return; } } ! if (mark & TIOCPKT_WINDOW) { /* Let server know about window size changes */ (void)kill(ppid, SIGUSR1); } --- 712,718 ---- return; } } ! if (mark & TIOCPKT_WINDOW && ppid > 1) { /* Let server know about window size changes */ (void)kill(ppid, SIGUSR1); }