diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-03 19:04:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-03 19:06:35 +0200 |
commit | 0a8b555ceb07ce916b9bd48782d1eb69a12f0f2e (patch) | |
tree | cf711a70a2ba06c2ba6dc04cd95f4da8c8fbb1c8 /test/parent-deep.slice | |
parent | 5ef9b2203e027da168b18d92045462422895565b (diff) |
terminal-util: when resetting terminals, don't wait for carrier
In case of non-CLOCAL lines (i.e. those with carrier detect configured)
we shouldnt wait for a carrier if all we try to do is reset the TTY.
Hence, whenever we open such a TTY pass O_NONBLOCK.
Note that we continue to open ttys we intend to write to without
O_ONBLOCK, we only add it in cases we invoke ioctl()s or other terminal
operations without reading or writing to the device.
Fixes #835.
Diffstat (limited to 'test/parent-deep.slice')
0 files changed, 0 insertions, 0 deletions