diff options
author | bde <bde@FreeBSD.org> | 1995-07-21 17:47:08 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-07-21 17:47:08 +0000 |
commit | daf18dea5d745b2eb3faa60b23438209a50706f3 (patch) | |
tree | 151261b2a281da81a044ff5376f738eecbdda214 /sys/kern/tty_pty.c | |
parent | b32a53127db8c848a8cd484fd8e83e0ee44366e3 (diff) | |
download | FreeBSD-src-daf18dea5d745b2eb3faa60b23438209a50706f3.zip FreeBSD-src-daf18dea5d745b2eb3faa60b23438209a50706f3.tar.gz |
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.
Diffstat (limited to 'sys/kern/tty_pty.c')
0 files changed, 0 insertions, 0 deletions