From 76a01d08551bf6efa8571152bc747cbf9e2b014e Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 24 Apr 2026 20:40:22 +0500 Subject: [PATCH] engine: platform: posix: remove extra newline from libbacktrace output --- engine/platform/posix/crash_libbacktrace.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/engine/platform/posix/crash_libbacktrace.c b/engine/platform/posix/crash_libbacktrace.c index 84d51d08..6eabe3fb 100644 --- a/engine/platform/posix/crash_libbacktrace.c +++ b/engine/platform/posix/crash_libbacktrace.c @@ -53,16 +53,10 @@ static void Sys_AppendPrint( struct print_data *pd, const char *fmt, ... ) if( len > 0 ) { - char ch = '\n'; - if( pd->logfd >= 0 ) - { write( pd->logfd, pd->message, len ); - write( pd->logfd, &ch, 1 ); - } write( STDERR_FILENO, pd->message, len ); - write( STDERR_FILENO, &ch, 1 ); pd->message += len; pd->len += len;