aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-04-20 19:52:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-04-20 19:52:02 +0000
commit573963e32ffac46d9891970ddebde2ac3212c5c0 (patch)
tree7cc633ef61671316392faa28c568984c0fb2874c
parent0900a849592622f536d6f0959809ba7927722c1c (diff)
downloadglibc-573963e32ffac46d9891970ddebde2ac3212c5c0.tar
glibc-573963e32ffac46d9891970ddebde2ac3212c5c0.tar.gz
glibc-573963e32ffac46d9891970ddebde2ac3212c5c0.tar.bz2
glibc-573963e32ffac46d9891970ddebde2ac3212c5c0.zip
Define XTABS to TAB3 on alpha to match Linux 4.16.
This patch makes the alpha bits/termios.h define XTABS to TAB3, so matching a change made in Linux 4.16 as well as matching other architectures where the values are already equal. Tested with build-many-glibcs.py for alpha-linux-gnu. * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC] (XTABS): Define to TAB3.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/termios.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 46bd350d0f..6b17507d53 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-04-20 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
+ (XTABS): Define to TAB3.
+
2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/hppa/fpu/libm-test-ulps: Update.
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/termios.h b/sysdeps/unix/sysv/linux/alpha/bits/termios.h
index 7bf8bfe68b..24423e8fc9 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/termios.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/termios.h
@@ -117,7 +117,7 @@ struct termios
#define VT1 00200000
#ifdef __USE_MISC
-# define XTABS 01000000 /* Hmm.. Linux/i386 considers this part of TABDLY.. */
+# define XTABS TAB3
#endif
/* c_cflag bit meaning */