]> granicus.if.org Git - musl/commit
fix missing flush of stderr at exit if it was put in buffered mode
authorRich Felker <dalias@aerifal.cx>
Thu, 30 Aug 2018 03:40:49 +0000 (23:40 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 30 Aug 2018 03:40:49 +0000 (23:40 -0400)
commitddc947eda311331959c73dbc4491afcfe2326346
tree431a2425543b036741f4849cc88524c03f217469
parent35cd7c0950b1cb98b62e6dfb2be87e345dac75dd
fix missing flush of stderr at exit if it was put in buffered mode

commit 0b80a7b0404b6e49b0b724e3e3fe0ed5af3b08ef added the ability to
set application-provided stdio FILE buffers, adding the possibility
that stderr might be buffered at exit time, but __stdio_exit did not
have code to flush it.

this regression was not present in any release.
src/stdio/__stdio_exit.c