diff options
| author | Florian Weimer <fweimer@redhat.com> | 2023-01-31 22:22:02 +0100 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2023-01-31 22:22:02 +0100 |
| commit | f5c65fa920d78cffe56fe4065f16241637808353 (patch) | |
| tree | 0265b2fc8b7f69e366f418a86b3eb0976ea24300 /malloc/alloc_buffer_alloc_array.c | |
| parent | 2f39e44a8417b4186a7f15bfeac5d0b557e63e03 (diff) | |
| download | glibc-f5c65fa920d78cffe56fe4065f16241637808353.tar.xz glibc-f5c65fa920d78cffe56fe4065f16241637808353.zip | |
libio: Update number of written bytes in dprintf implementation
The __printf_buffer_flush_dprintf function needs to record that
the buffer has been written before reusing it. Without this
accounting, dprintf always returns zero.
Fixes commit 8ece45e4f586abd212d1c02d74d38ef681a45600
("libio: Convert __vdprintf_internal to buffers").
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
