Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libio: Update number of written bytes in dprintf implementation | Florian Weimer | 2023-01-31 | 1 | -0/+45 |
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> |