]> git.ipfire.org Git - thirdparty/asterisk.git/commit
logger: workaround woefully small BUFSIZ in MUSL
authorPhilip Prindeville <philipp@redfish-solutions.com>
Tue, 22 Feb 2022 01:05:49 +0000 (18:05 -0700)
committerKevin Harwell <kharwell@digium.com>
Wed, 23 Mar 2022 23:10:54 +0000 (18:10 -0500)
commit70a958a051519fb27445fee768bd869de83f7ee2
treef9321965c6525b3ee0dfbf72b22a1655e4318d29
parent297ceeb9e47112060b395c4b5b3cae42e7b6557b
logger: workaround woefully small BUFSIZ in MUSL

MUSL defines BUFSIZ as 1024 which is not reasonable for log messages.

More broadly, BUFSIZ is the amount of buffering stdio.h does, which
is arbitrary and largely orthogonal to what logging should accept
as the maximum message size.

ASTERISK-29928

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Change-Id: Iaa49fbbab029c64ae3d95e4b18270e0442cce170
main/logger.c