diff options
author | ru <ru@FreeBSD.org> | 2004-03-18 21:07:54 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-03-18 21:07:54 +0000 |
commit | 569c6a8eda957ba93206aab029082de086eb77f4 (patch) | |
tree | 454ee7b9ac1d3269482ef44ef77c46a8c2c4caa1 /sys/dev/syscons/syscons.c | |
parent | 365db5dd01b85276d53134f9ea822f82253fba23 (diff) | |
download | FreeBSD-src-569c6a8eda957ba93206aab029082de086eb77f4.zip FreeBSD-src-569c6a8eda957ba93206aab029082de086eb77f4.tar.gz |
Fixed a nasty old bug where a visual bell in the currently active
VTY prevented waking up processes waiting for the output queue to
get free on other VTYs.
In collaboration with: Vsevolod Lobko
MFC after: 1 week
Diffstat (limited to 'sys/dev/syscons/syscons.c')
-rw-r--r-- | sys/dev/syscons/syscons.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 69ab21f..b3a3f09 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -1355,7 +1355,8 @@ scstart(struct tty *tp) u_char buf[PCBURST]; scr_stat *scp = SC_STAT(tp->t_dev); - if (scp->status & SLKED || scp->sc->blink_in_progress) + if (scp->status & SLKED || + (scp == scp->sc->cur_scp && scp->sc->blink_in_progress)) return; s = spltty(); if (!(tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP))) { |