From owner-freebsd-commit Tue Oct 31 11:28:00 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18822 for freebsd-commit-outgoing; Tue, 31 Oct 1995 11:28:00 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18810 for cvs-all-outgoing; Tue, 31 Oct 1995 11:27:58 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18800 for cvs-sys-outgoing; Tue, 31 Oct 1995 11:27:56 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18790 ; Tue, 31 Oct 1995 11:27:52 -0800 Date: Tue, 31 Oct 1995 11:27:52 -0800 From: Bruce Evans Message-Id: <199510311927.LAA18790@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty.c Sender: owner-commit@FreeBSD.org Precedence: bulk bde 95/10/31 11:27:52 Modified: sys/kern tty.c Log: Fixed initialization of TS_CONNECTED bit in t_state. It wasn't set in open() when CLOCAL is set unless carrier is present. Fixed initialization of line discipline. It lived across opens. Lines that started with the wrong discipline probably didn't work at all, because TS_ISOPEN is only set by TTYDISC.