1From d01fb412801ddc55843f1e1642d0fef0afba441a Mon Sep 17 00:00:00 2001 2From: John Lindgren <john@jlindgren.net> 3Date: Thu, 13 Oct 2022 14:00:12 +0100 4Subject: [PATCH] gmessages: Add missing trailing newline in fallback log 5 handler 6 7This makes the fallback log handler match the behaviour of the default 8log handlers. 9 10Conflict:NA 11Reference:https://gitlab.gnome.org/GNOME/glib/-/commit/d01fb412801ddc55843f1e1642d0fef0afba441a 12 13Spotted as part of https://gitlab.gnome.org/GNOME/glib/-/issues/2753 14--- 15 glib/gmessages.c | 1 + 16 1 file changed, 1 insertion(+) 17 18diff --git a/glib/gmessages.c b/glib/gmessages.c 19index fb1297f8a8..e197f1707a 100644 20--- a/glib/gmessages.c 21+++ b/glib/gmessages.c 22@@ -3159,6 +3159,7 @@ _g_log_fallback_handler (const gchar *log_domain, 23 write_string (stream, level_prefix); 24 write_string (stream, ": "); 25 write_string (stream, message); 26+ write_string (stream, "\n"); 27 } 28 29 static void 30-- 31GitLab 32 33