Fix TABDLY value
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 13 Jul 2016 20:41:40 +0000 (22:41 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 13 Jul 2016 20:41:40 +0000 (22:41 +0200)
* bits/termios.h (TABDLY): Change macro to include TAB3 bit too.

ChangeLog
bits/termios.h

index 4bc8a61..234a3cc 100644 (file)
--- 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]
index f28b492..c1b1a99 100644 (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.  */