diff options
author | Tulio Magno Quites Machado Filho <tuliom@redhat.com> | 2025-01-31 10:26:22 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@redhat.com> | 2025-02-13 16:34:54 -0300 |
commit | 88f7ef881d1b9507aa934104c338b958c37821d7 (patch) | |
tree | 93e9a2484ca326f49cde0fcc76391ca363289eff /math/libm-test-remainder.inc | |
parent | d10176c0ffeadbc0bcd443741f53ebd85e70db44 (diff) | |
download | glibc-88f7ef881d1b9507aa934104c338b958c37821d7.zip glibc-88f7ef881d1b9507aa934104c338b958c37821d7.tar.gz glibc-88f7ef881d1b9507aa934104c338b958c37821d7.tar.bz2 |
libio: Initialize _total_written for all kinds of streams
Move the initialization code to a general place instead of keeping it
specific to file-backed streams.
Fixes: 596a61cf6b (libio: Start to return errors when flushing fwrite's buffer [BZ #29459], 2025-01-28)
Reported-by: Florian Weimer <fweimer@redhat.com>
Reviewed-by: Arjun Shankar <arjun@redhat.com>
Diffstat (limited to 'math/libm-test-remainder.inc')
0 files changed, 0 insertions, 0 deletions