summaryrefslogtreecommitdiff
path: root/term/users.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-11-25 09:10:07 +0000
committerRoland McGrath <roland@gnu.org>1998-11-25 09:10:07 +0000
commit9de130505716e177e6573d0789a596616ed65919 (patch)
treecf89b91120228a82b299dcae7a59ff01e272811c /term/users.c
parent2999a5f46075fd0d89dec3f5b7a864da0afdde22 (diff)
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* users.c (open_hook): Assert DTR if NO_CARRIER, even for CLOCAL. This is the only thing that tells it to open the device.
Diffstat (limited to 'term/users.c')
-rw-r--r--term/users.c2
1 files changed, 1 insertions, 1 deletions
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)