diff options
author | Eugene Syromiatnikov <esyr@redhat.com> | 2017-09-14 13:53:00 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2018-01-20 16:58:33 -0800 |
commit | 77e5bff1640432f28794a00800955e646dcd7455 (patch) | |
tree | bb459feca88951b0fcb8ec88668c766688d8c546 /arch | |
parent | 8cbab92dff778e516064c13113ca15d4869ec883 (diff) | |
download | linux-stable-77e5bff1640432f28794a00800955e646dcd7455.tar.gz linux-stable-77e5bff1640432f28794a00800955e646dcd7455.tar.bz2 linux-stable-77e5bff1640432f28794a00800955e646dcd7455.zip |
alpha: make XTABS equivalent to TAB3
XTABS is an old name for "expand tabs to spaces" flag, which was a
separate flag on some BSD implementations. POSIX, however, specifies
that this effect is enabled with TAB3 output mode.
Currently, alpha is the only architecture that has the value of
the XTABS flag not equivalent to TAB3.
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/include/uapi/asm/termbits.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/alpha/include/uapi/asm/termbits.h b/arch/alpha/include/uapi/asm/termbits.h index 05e0398a83a6..de6c8360fbe3 100644 --- a/arch/alpha/include/uapi/asm/termbits.h +++ b/arch/alpha/include/uapi/asm/termbits.h @@ -110,7 +110,11 @@ struct ktermios { #define VTDLY 00200000 #define VT0 00000000 #define VT1 00200000 -#define XTABS 01000000 /* Hmm.. Linux/i386 considers this part of TABDLY.. */ +/* + * Should be equivalent to TAB3, see description of TAB3 in + * POSIX.1-2008, Ch. 11.2.3 "Output Modes" + */ +#define XTABS TAB3 /* c_cflag bit meaning */ #define CBAUD 0000037 |