[Bug 76398] [libc] stdio can lose data in the presence of signals

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Feb 2022 03:30:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=76398

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=afa9a1f5ec9974793a8744c55036ef5c4d08903d

commit afa9a1f5ec9974793a8744c55036ef5c4d08903d
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-01-23 06:52:59 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-02-01 03:29:15 +0000

    __sflush(): on write error, if nothing was written, reset FILE state back

    PR:     76398

    (cherry picked from commit 86a16ada1ea608408cec370171d9f59353e97c77)

 lib/libc/stdio/fflush.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.