]> 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 22:06:50 +0000 (17:06 -0500)
commit2a87303ebd531a1303088548c8951cdcfb5167d7
tree36ad748bed2df9ce03252a731c006521859aaca5
parentfd29d28832e10e3841a45b00924f3e3054d6263c
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