Fix TABDLY value

* bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
This commit is contained in:
Samuel Thibault 2016-07-13 22:41:40 +02:00
parent 2ac88eecc5
commit 2b6dbe669f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
* bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ #15368]

View File

@ -152,7 +152,7 @@ struct termios
# define NLDLY (3 << 8) /* NL delay. */
# define NL0 (0 << 8) /* NL type 0. */
# define NL1 (1 << 8) /* NL type 1. */
# define TABDLY (3 << 10) /* TAB delay. */
# define TABDLY (3 << 10 | 1 << 2) /* TAB delay. */
# define TAB0 (0 << 10) /* TAB delay type 0. */
# define TAB1 (1 << 10) /* TAB delay type 1. */
# define TAB2 (2 << 10) /* TAB delay type 2. */