diff options
author | Dmitry V. Levin <ldv@strace.io> | 2022-11-13 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2022-11-13 08:00:00 +0000 |
commit | e56a444deed7b3c5186503e0c19ffe065a103412 (patch) | |
tree | fcdcc8a4ceeb0a8d857289df0e743a1c16ba9f0a /src/xlat | |
parent | 4d35972818c75df5cbea347fa14a447ec22d8ca4 (diff) | |
download | strace-e56a444deed7b3c5186503e0c19ffe065a103412.tar.gz |
term: modernize
* src/term.c: Do not include xlat/termio_cc.h unless _VMIN is defined.
Use macros from print_fields.h.
(decode_termios2, decode_termios): Do not print c_cc[VMIN]
and c_cc[VTIME] twice.
(decode_termio): Do not print c_cc[_VMIN] and c_cc[_VTIME] twice.
* tests/ioctl_termios.c: Update expected output.
* NEWS: Mention this change.
Diffstat (limited to 'src/xlat')
-rw-r--r-- | src/xlat/termios_cc.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xlat/termios_cc.in b/src/xlat/termios_cc.in index fba9d9836..7f4e7f75f 100644 --- a/src/xlat/termios_cc.in +++ b/src/xlat/termios_cc.in @@ -12,7 +12,7 @@ VREPRINT /* Reprint-line character [ICANON]. */ VDISCARD /* Discard character [IEXTEN]. */ VWERASE /* Word-erase character [ICANON]. */ VLNEXT /* Literal-next character [IEXTEN]. */ -VEOF /* End-of-file character [ICANON]. */ -VEOL /* End-of-line character [ICANON]. */ VMIN /* Minimum number of bytes read at once [!ICANON]. */ VTIME /* Time-out value (tenths of a second) [!ICANON]. */ +VEOF /* End-of-file character [ICANON]. */ +VEOL /* End-of-line character [ICANON]. */ |