From aa15ee0d5b2df7d99a3b7ae40fe41686381d9541 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 11 Dec 1996 13:28:06 +0000 Subject: [PATCH] TS_WOPEN on cua close, like com.c --- sys/arch/i386/isa/pccom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/i386/isa/pccom.c b/sys/arch/i386/isa/pccom.c index 77e0cb99edb..e5e4ef570df 100644 --- a/sys/arch/i386/isa/pccom.c +++ b/sys/arch/i386/isa/pccom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pccom.c,v 1.8 1996/11/30 11:54:32 downsj Exp $ */ +/* $OpenBSD: pccom.c,v 1.9 1996/12/11 13:28:06 deraadt Exp $ */ /* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */ /*- @@ -918,6 +918,7 @@ comopen(dev, flag, mode, p) only waiter */ if (DEVCUA(dev)) sc->sc_cua = 0; + CLR(tp->t_state, TS_WOPEN); splx(s); return error; } -- 2.20.1