]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 23 Mar 2022 21:16:19 +0000 (16:16 -0500)
commit309c8da206a74acbc19dc6d1abddca92d96f508f
treeb19da4c4ddf4c099b31fcd6c041a7b99d0dc11db
parenta9c4c8461a2451504d580290a901fcb8d0a4e217
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