This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Define XTABS to TAB3 on alpha to match Linux 4.16


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]