[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-alpha
Subject:    Re: [PATCH v2 05/12] termios: Consolidate Output Modes definitions
From:       Siddhesh Poyarekar <siddhesh () gotplt ! org>
Date:       2018-12-31 15:54:12
Message-ID: adac5ab8-793d-73ae-586e-b258a93a8297 () gotplt ! org
[Download RAW message or body]

On 28/12/18 6:39 AM, Adhemerval Zanella wrote:
> 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.

OK.

Siddhesh

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic