提交 77e5bff1 编写于 作者: E Eugene Syromiatnikov 提交者: Matt Turner

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: NEugene Syromiatnikov <esyr@redhat.com>
Signed-off-by: NMatt Turner <mattst88@gmail.com>
上级 8cbab92d
...@@ -110,7 +110,11 @@ struct ktermios { ...@@ -110,7 +110,11 @@ struct ktermios {
#define VTDLY 00200000 #define VTDLY 00200000
#define VT0 00000000 #define VT0 00000000
#define VT1 00200000 #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 */ /* c_cflag bit meaning */
#define CBAUD 0000037 #define CBAUD 0000037
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册