=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/telnet/sys_bsd.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/telnet/sys_bsd.c 1998/12/28 11:13:51 1.6 --- src/usr.bin/telnet/sys_bsd.c 1999/05/07 18:29:07 1.7 *************** *** 1,4 **** ! /* $OpenBSD: sys_bsd.c,v 1.6 1998/12/28 11:13:51 deraadt Exp $ */ /* $NetBSD: sys_bsd.c,v 1.11 1996/02/28 21:04:10 thorpej Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: sys_bsd.c,v 1.7 1999/05/07 18:29:07 deraadt Exp $ */ /* $NetBSD: sys_bsd.c,v 1.11 1996/02/28 21:04:10 thorpej Exp $ */ /* *************** *** 199,207 **** TerminalFlushOutput() { #ifdef TIOCFLUSH ! (void) ioctl(fileno(stdout), TIOCFLUSH, (char *) 0); #else ! (void) ioctl(fileno(stdout), TCFLSH, (char *) 0); #endif } --- 199,208 ---- TerminalFlushOutput() { #ifdef TIOCFLUSH ! int com = FWRITE; ! (void) ioctl(fileno(stdout), TIOCFLUSH, (int *) &com); #else ! (void) ioctl(fileno(stdout), TCFLSH, (int *) 0); #endif }