summaryrefslogtreecommitdiff
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2020-06-15 16:33:03 +0200
committerLukas Larsson <lukas@erlang.org>2020-06-23 09:28:43 +0200
commitede644ddd07fda0aa425418ce92992228eb01adc (patch)
tree58a19a15b991d61c9dfd4a261921dbe6ea6a48bb /erts
parent4e30b284b56c41f77709e84ba4f20d2cef0f4c4e (diff)
downloaderlang-ede644ddd07fda0aa425418ce92992228eb01adc.tar.gz
erts: Fix indentation of to_erl feature flags
Diffstat (limited to 'erts')
-rw-r--r--erts/etc/unix/to_erl.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/erts/etc/unix/to_erl.c b/erts/etc/unix/to_erl.c
index a8fb513f80..a1a0fde0a2 100644
--- a/erts/etc/unix/to_erl.c
+++ b/erts/etc/unix/to_erl.c
@@ -244,8 +244,8 @@ int main(int argc, char **argv)
#endif
tty_smode.c_iflag =
1*BRKINT |/*Signal interrupt on break.*/
- 1*IGNPAR |/*Ignore characters with parity errors.*/
- 0;
+ 1*IGNPAR |/*Ignore characters with parity errors.*/
+ 0;
#if 0
0*IGNBRK |/*Ignore break condition.*/
@@ -262,30 +262,31 @@ int main(int argc, char **argv)
#endif
tty_smode.c_oflag =
- 0*ONLCR |/*Map NL to CR-NL on output.*/
+ OPOST |/*Post-process output.*/
+ 0*ONLCR |/*Map NL to CR-NL on output.*/
#ifdef XTABS
- 1*XTABS |/*Expand tabs to spaces. (Linux)*/
+ 1*XTABS |/*Expand tabs to spaces. (Linux)*/
#endif
#ifdef OXTABS
- 1*OXTABS |/*Expand tabs to spaces. (FreeBSD)*/
+ 1*OXTABS |/*Expand tabs to spaces. (FreeBSD)*/
#endif
#ifdef NL0
- 1*NL0 |/*Select newline delays*/
+ 1*NL0 |/*Select newline delays*/
#endif
#ifdef CR0
- 1*CR0 |/*Select carriage-return delays*/
+ 1*CR0 |/*Select carriage-return delays*/
#endif
#ifdef TAB0
- 1*TAB0 |/*Select horizontal tab delays*/
+ 1*TAB0 |/*Select horizontal tab delays*/
#endif
#ifdef BS0
- 1*BS0 |/*Select backspace delays*/
+ 1*BS0 |/*Select backspace delays*/
#endif
#ifdef VT0
- 1*VT0 |/*Select vertical tab delays*/
+ 1*VT0 |/*Select vertical tab delays*/
#endif
#ifdef FF0
- 1*FF0 |/*Select form feed delays*/
+ 1*FF0 |/*Select form feed delays*/
#endif
0;