File 0722-erts-Change-printout-of-unmatched-asan-errors.patch of Package erlang

From 9a79db992adbfbf3849d71f9ad7d49378ad989ba Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Mon, 1 Nov 2021 21:18:58 +0100
Subject: [PATCH 2/2] erts: Change printout of unmatched asan errors

Surrender ambition to match all kinds of asan output
and just dump unrecognized lines as such without the "Warning".
---
 erts/emulator/asan/asan_logs_to_html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/emulator/asan/asan_logs_to_html b/erts/emulator/asan/asan_logs_to_html
index fad5ce7137..b83bdb9d31 100755
--- a/erts/emulator/asan/asan_logs_to_html
+++ b/erts/emulator/asan/asan_logs_to_html
@@ -235,7 +235,7 @@ match_loop(Out, Bin, RegEx0, LogAcc0, PrevEnd, Unmatched0, LM0) ->
             LogAcc1 =
                 case iolist_size(Unmatched1) > 500 of
                     true ->
-                        Txt = [io_format("<h2>WARNING!!! May be unmatched error reports"
+                        Txt = [io_format("<h2>Unrecognized error reports"
                                          " in file ~s:</h2>\n<pre>~s</pre>",
                                          [LogAcc0#logacc.srcfile, Unmatched1])],
                         log_error(Out, LogAcc0, Txt);
-- 
2.31.1

openSUSE Build Service is sponsored by