From 9de130505716e177e6573d0789a596616ed65919 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 25 Nov 1998 09:10:07 +0000 Subject: 1998-10-24 Roland McGrath * users.c (open_hook): Assert DTR if NO_CARRIER, even for CLOCAL. This is the only thing that tells it to open the device. --- term/users.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'term') diff --git a/term/users.c b/term/users.c index f0e6b019..b652400a 100644 --- a/term/users.c +++ b/term/users.c @@ -156,7 +156,7 @@ open_hook (struct trivfs_control *cntl, assert (! (termstate.c_oflag & OTILDE)); /* Assert DTR if necessary. */ - if ((termflags & NO_CARRIER) && !(termstate.c_cflag & CLOCAL)) + if (termflags & NO_CARRIER) { err = (*bottom->assert_dtr) (); if (err) -- cgit v1.2.3