diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-03-17 16:27:03 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-03-17 16:27:03 +0000 |
commit | 20409ce5e806c7d2fba103d6b88b5a0c2f2fbf5a (patch) | |
tree | f5efbd979ef39f9212babb4da5f5ec35da4bcca2 | |
parent | 0cb521871ba11772fb52617cdba1b66089ffd749 (diff) | |
download | glibc-20409ce5e806c7d2fba103d6b88b5a0c2f2fbf5a.zip glibc-20409ce5e806c7d2fba103d6b88b5a0c2f2fbf5a.tar.gz glibc-20409ce5e806c7d2fba103d6b88b5a0c2f2fbf5a.tar.bz2 |
Make alpha termios.h define IXANY unconditionally (bug 21259).
sysdeps/unix/sysv/linux/alpha/bits/termios.h defines IXANY only if
__USE_MISC. But it's in the base standard for POSIX.1:2008, and
XSI-shaded in previous standards. This patch makes the header define
it unconditionally, like other versions of this header do (it's always
reserved by standards that don't require it, so defining
unconditionally is OK by the standards).
Tested (compilation only) for alpha with build-many-glibcs.py. Note
that there are still termios.h conformtest failures after this patch
because of other issues with the alpha version of this header.
[BZ #21259]
* sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
unconditionally, not just for [__USE_MISC].
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/termios.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2017-03-17 Joseph Myers <joseph@codesourcery.com> + [BZ #21259] + * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define + unconditionally, not just for [__USE_MISC]. + [BZ #17786] * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file. * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for diff --git a/sysdeps/unix/sysv/linux/alpha/bits/termios.h b/sysdeps/unix/sysv/linux/alpha/bits/termios.h index c64e74a..9deda15 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/termios.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/termios.h @@ -70,9 +70,9 @@ struct termios #define ICRNL 0000400 #define IXON 0001000 #define IXOFF 0002000 +#define IXANY 0004000 #ifdef __USE_MISC /* POSIX.1 doesn't want these... */ -# define IXANY 0004000 # define IUCLC 0010000 # define IMAXBEL 0020000 # define IUTF8 0040000 |