fix following sequence:

telnet localhost
	cat (no argument)
	control-C
	(not returned to the shell prompt)
	(push enter key)
	(returned to prompt)
This commit is contained in:
msaitoh 1999-11-26 07:33:52 +00:00
parent 5f534fca77
commit 44181778bd

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_bsd.c,v 1.15 1998/12/22 05:27:35 mcr Exp $ */
/* $NetBSD: sys_bsd.c,v 1.16 1999/11/26 07:33:52 msaitoh Exp $ */
/*
* Copyright (c) 1988, 1990, 1993
@ -38,7 +38,7 @@
#if 0
from: static char sccsid[] = "@(#)sys_bsd.c 8.4 (Berkeley) 5/30/95";
#else
__RCSID("$NetBSD: sys_bsd.c,v 1.15 1998/12/22 05:27:35 mcr Exp $");
__RCSID("$NetBSD: sys_bsd.c,v 1.16 1999/11/26 07:33:52 msaitoh Exp $");
#endif
#endif /* not lint */
@ -1019,7 +1019,7 @@ process_rings(netin, netout, netex, ttyin, ttyout, poll)
}
if (netin) {
FD_SET(net, &ibits);
MAXFD(netin);
MAXFD(net);
}
if (netex) {
FD_SET(net, &xbits);