]> 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>
Mon, 28 Mar 2022 15:23:46 +0000 (11:23 -0400)
commit6e13794fbe6e82c21365d0fd66769bf8b19c0197
treec8bb9b2296df3b61ad24fad83b3980f7f710ca09
parentecd764b0ea7a1b7fb5f1e6632f8d8db9233f06ea
libc: Restore fp state upon flush error in fputc

This is akin to commit bafaa70b6f9098d83d074968c8e6747ecec1e118.

Reported by: Guy Yur <guyyur@gmail.com>
Fixes: 86a16ada1ea6
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
lib/libc/stdio/wbuf.c