File 0603-erts-Fix-indentation-of-to_erl-feature-flags.patch of Package erlang

From ede644ddd07fda0aa425418ce92992228eb01adc Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Mon, 15 Jun 2020 16:33:03 +0200
Subject: [PATCH 17/18] erts: Fix indentation of to_erl feature flags

---
 erts/etc/unix/to_erl.c | 23 ++++++++++++-----------
 1 file 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;
     
-- 
2.26.2

openSUSE Build Service is sponsored by