From owner-freebsd-commit Sun Jul 30 06:54:29 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id GAA08964 for commit-outgoing; Sun, 30 Jul 1995 06:54:29 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id GAA08933 for cvs-sys-outgoing; Sun, 30 Jul 1995 06:53:03 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id GAA08918 ; Sun, 30 Jul 1995 06:52:58 -0700 Date: Sun, 30 Jul 1995 06:52:58 -0700 From: Bruce Evans Message-Id: <199507301352.GAA08918@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty.c Sender: commit-owner@FreeBSD.org Precedence: bulk bde 95/07/30 06:52:57 Modified: sys/kern tty.c Log: Don't swap the queue headers to implement concatenation of the queues for TIOCSETA[W]. Swapping an even number of times broke the queue resource limits. This would have broken CRTSCTS flow control if the clist slush list was used up. Don'concatenate the queues for TIOCSETA[W] if one of the queues has a resource limit of 0. Concatenation would cause a panic if one of the queues is nonempty and the other is limited to length 0. This may have caused panics in PPPDISC. Wake up readers after all transitions of ICANON. When ICANON is turned off it is quite likely that characters will become available to be read. Reduce indentation near these changes.