aboutsummaryrefslogtreecommitdiff
path: root/include/libintl.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-10-05 09:58:09 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-04-15 10:41:54 -0300
commita583b6add407c17cdcd4146be3876061a5e1d555 (patch)
tree248962242b03d7dbcb224f63b6efe066ef6262d2 /include/libintl.h
parentf9f5c70e7f2ba928fe86801b8d05ffe8f4972d59 (diff)
downloadglibc-a583b6add407c17cdcd4146be3876061a5e1d555.tar
glibc-a583b6add407c17cdcd4146be3876061a5e1d555.tar.gz
glibc-a583b6add407c17cdcd4146be3876061a5e1d555.tar.bz2
glibc-a583b6add407c17cdcd4146be3876061a5e1d555.zip
misc: syslog: Use fixed-sized buffer and remove memstream
A fixed-sized buffer is used instead of memstream for messages up to 1024 bytes to avoid the potential BUFSIZ (8K) malloc and free for each syslog call. Also, since the buffer size is know, memstream is replaced with a malloced buffer for larger messages. Checked on x86_64-linux-gnu.
Diffstat (limited to 'include/libintl.h')
0 files changed, 0 insertions, 0 deletions