diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-10-09 11:56:06 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-01-03 09:32:12 -0200 |
commit | 7b832018881cbc860c70b7a768dae9cfb7b55663 (patch) | |
tree | c57dec631cd432bbdb8dda2b0490a4d48cbe684a /ChangeLog | |
parent | 3127003e756f3202462a11d8e5bd2b994b056c91 (diff) | |
download | glibc-7b832018881cbc860c70b7a768dae9cfb7b55663.tar.gz glibc-7b832018881cbc860c70b7a768dae9cfb7b55663.tar.xz glibc-7b832018881cbc860c70b7a768dae9cfb7b55663.zip |
termios: Consolidate Output Modes definitions
This patch consolidates the termios symbolic constants used for ouput modes with c_oflag member on its own header. The Linux generic implementation values match the kernel UAPI and each architecture with deviate values have their own implementation (in this case alpha, powerpc, and sparc). No semantic change is expected, checked on a build against x86_64-linux-gnu, alpha-linux-gnu, mips64-linux-gnu, and sparc64-linux-gnu. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add termios-c_oflag.h. * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise. * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL, ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to termios-c_oflag.h. [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2, CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0, FFR1): Likewise. [USE_MISC] (XTABS): Likewise. * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 5b5bca47a6..9edf6ca673 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,23 @@ 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org> + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add + termios-c_oflag.h. + * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file. + * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise. + * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL, + ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to + termios-c_oflag.h. + [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2, + CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0, + FFR1): Likewise. + [USE_MISC] (XTABS): Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise. + * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add termios-c_iflag.h. * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file. |