]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libc: Restore fp state upon flush error in fputc
authorMark Johnston <markj@FreeBSD.org>
Fri, 25 Mar 2022 14:46:24 +0000 (10:46 -0400)
committerMark Johnston <markj@FreeBSD.org>
Thu, 31 Mar 2022 15:21:48 +0000 (11:21 -0400)
commit7be0c792c46c5a1faf46b611058953aa85b192d6
tree2d2c1fce29666c2a18ee2c7e6d30f11f86029c67
parent004da2d51f8427745c0d1287781d5ba546b19000
libc: Restore fp state upon flush error in fputc

This is akin to commit bafaa70b6f9098d83d074968c8e6747ecec1e118.

Reported by: Guy Yur <guyyur@gmail.com>
Fixes: 86a16ada1ea6
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 6e13794fbe6e82c21365d0fd66769bf8b19c0197)
lib/libc/stdio/wbuf.c