]> 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:44 +0000 (18:10 -0500)
commit140c19c2067a5e2dcedfbb4dfa08c57758b822cb
tree0f44cf58f3684bc4588f0e863117d39104cf0336
parent3a7d83087bcfc1f06b5ff66d3be24874c8217623
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