mirror of
https://github.com/openbsd/src.git
synced 2024-12-21 23:18:00 -08:00
gettytab's dx flag is supposed to set decctlq, which is the opposite of
ixany, but was setting ixany instead. Fix this by reversing the logic. Bug report and fix from Piotr Durlej, thanks!
This commit is contained in:
parent
22ac2f2a6f
commit
667e8970ce
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: subr.c,v 1.28 2018/06/14 23:19:27 gsoares Exp $ */
|
||||
/* $OpenBSD: subr.c,v 1.29 2024/11/09 11:22:18 miod Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
@ -307,9 +307,9 @@ setflags(int n)
|
||||
CLR(lflag, ECHOCTL);
|
||||
|
||||
if (DX)
|
||||
SET(lflag, IXANY);
|
||||
else
|
||||
CLR(lflag, IXANY);
|
||||
else
|
||||
SET(lflag, IXANY);
|
||||
|
||||
out:
|
||||
tmode.c_iflag = iflag;
|
||||
|
Loading…
Reference in New Issue
Block a user