about summary refs log tree commit diff
path: root/bits
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-07-13 22:41:40 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-07-13 22:41:40 +0200
commit2b6dbe669fa2e488b31286150e8cb6f7c0875847 (patch)
treedec4b638e3f63d01440f72a07ac71fab07e60fbf /bits
parent2ac88eecc57ff00e0b5ff803ebcc3465d2d640dd (diff)
downloadglibc-2b6dbe669fa2e488b31286150e8cb6f7c0875847.tar.gz
glibc-2b6dbe669fa2e488b31286150e8cb6f7c0875847.tar.xz
glibc-2b6dbe669fa2e488b31286150e8cb6f7c0875847.zip
Fix TABDLY value
	* bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
Diffstat (limited to 'bits')
-rw-r--r--bits/termios.h2
1 files changed, 1 insertions, 1 deletions
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.  */