Define XTABS to TAB3 on alpha to match Linux 4.16
Dmitry V. Levin
ldv@altlinux.org
Fri Apr 20 17:47:00 GMT 2018
On Fri, Apr 20, 2018 at 04:03:38PM +0000, Joseph Myers wrote:
> 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.
>
> 2018-04-20 Joseph Myers <joseph@codesourcery.com>
>
> * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
> (XTABS): Define to TAB3.
>
> diff --git a/sysdeps/unix/sysv/linux/alpha/bits/termios.h b/sysdeps/unix/sysv/linux/alpha/bits/termios.h
> index 7bf8bfe..24423e8 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 */
Yes, this is correct.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20180420/7fbb4de7/attachment.sig>
More information about the Libc-alpha
mailing list