Hi,
I don't have a newline in my format string but it gets added anyway.
This is a bug. I need to use a loop to print several bytes on the same
line.
Is there a reason why this is forced on everyone ?
if (stream.last_ch != '\n')
{
lib_stream_putc(&stream.public, '\n');
ret++;
}
(drivers/syslog/vsyslog.c: around line 252)
It was added by this change:
commit 275b2e70a47c1d8e2bfd1797a7a283c1ba14d8c4
Author: yinshengkai <[email protected]>
Date: Fri Dec 30 17:09:45 2022 +0800
syslog: fix extra line breaks in syslog when SYSLOG_COLOR_OUTPUT is enabled