Date: Fri, 21 Jul 1995 09:31:00 -0700 From: Bruce Evans <bde> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa/pcvt pcvt_drv.c Message-ID: <199507211631.JAA09563@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
bde 95/07/21 09:30:59 Modified: sys/gnu/isdn iitty.c sys/kern tty.c tty_pty.c sys/i386/isa/pcvt pcvt_drv.c Log: Obtained from: partly from an ancient patch of mine via 1.1.5 Temporarily nuke TS_WOPEN. It was only used for the obscure MDMBUF flow control option in the kernel and for informational purposes in `pstat -t'. The latter worked properly only for ptys. In general there may be multiple processes sleeping in open() and multiple processes that successfully opened the tty by opening it in O_NONBLOCK mode or during a window when CLOCAL was set. tty.c doesn't have enough information to maintain the flag but always cleared it in ttyopen(). TS_WOPEN should be restored someday just so that `pstat -t' can display it (MDMBUF is already fixed). Fixing it requires counting of processes sleeping in open() in too many serial drivers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507211631.JAA09563>