libio: Convert __vdprintf_internal to buffers
commit8ece45e4f586abd212d1c02d74d38ef681a45600
authorFlorian Weimer <fweimer@redhat.com>
Mon, 19 Dec 2022 17:56:55 +0000 (19 18:56 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 19 Dec 2022 17:56:55 +0000 (19 18:56 +0100)
tree2289618f579787fd06e2235806575705e7601b29
parentaf7f4165512ea242b5f711ee03a04f6afe22232d
libio: Convert __vdprintf_internal to buffers

The internal buffer size is set to 2048 bytes.  This is less than
the original BUFSIZ value used by buffered_vfprintf before
the conversion, but it hopefully covers all cases where write
boundaries matter.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
include/printf_buffer.h
libio/iovdprintf.c
stdio-common/printf_buffer_flush.c