aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--bits/termios.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4bc8a61bdf..234a3cc0c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
diff --git a/bits/termios.h b/bits/termios.h
index f28b492c10..c1b1a99fa3 100644
--- a/bits/termios.h
+++ b/bits/termios.h
@@ -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. */