[glib: 1/2] gmessages: Add missing trailing newline in fallback log handler
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gmessages: Add missing trailing newline in fallback log handler
- Date: Tue, 18 Oct 2022 16:39:03 +0000 (UTC)
commit d01fb412801ddc55843f1e1642d0fef0afba441a
Author: John Lindgren <john jlindgren net>
Date: Thu Oct 13 14:00:12 2022 +0100
gmessages: Add missing trailing newline in fallback log handler
This makes the fallback log handler match the behaviour of the default
log handlers.
Spotted as part of https://gitlab.gnome.org/GNOME/glib/-/issues/2753
glib/gmessages.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/glib/gmessages.c b/glib/gmessages.c
index fb1297f8a8..e197f1707a 100644
--- a/glib/gmessages.c
+++ b/glib/gmessages.c
@@ -3159,6 +3159,7 @@ _g_log_fallback_handler (const gchar *log_domain,
write_string (stream, level_prefix);
write_string (stream, ": ");
write_string (stream, message);
+ write_string (stream, "\n");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]