File 1407-erts-Remove-faulty-child-setup-assert.patch of Package erlang

From a1eb4b7048800d2a64efb69b957f4811da6bde2d Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Tue, 5 Apr 2022 10:56:41 +0200
Subject: [PATCH] erts: Remove faulty child setup assert

---
 erts/emulator/sys/unix/erl_child_setup.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/erts/emulator/sys/unix/erl_child_setup.c b/erts/emulator/sys/unix/erl_child_setup.c
index 129861ebd5..edf3ee69d7 100644
--- a/erts/emulator/sys/unix/erl_child_setup.c
+++ b/erts/emulator/sys/unix/erl_child_setup.c
@@ -244,7 +244,6 @@ start_new_child(int pipes[])
         res = read(pipes[0], &proto, sizeof(proto));
         if (res > 0) {
             ASSERT(proto.action == ErtsSysForkerProtoAction_Ack);
-            ASSERT(res == sizeof(proto));
         }
     } while(res < 0 && (errno == EINTR || errno == ERRNO_BLOCK));
 
-- 
2.34.1

openSUSE Build Service is sponsored by