[Bug 266171] Writing to stdout after moving file descriptor 1

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Sep 2022 01:16:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266171

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit 44cf1e5eb470380442fa8e240e213a71b8fe81d4
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-09-02 13:39:38 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-09-03 01:06:41 +0000

    libc/stdio: only roll FILE state back on EINTR

    Reported by:    JunT <takimoto-j@kba.biglobe.ne.jp>
    PR:     266171
    Reviewed by:    emaste, markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D36427

 lib/libc/stdio/fflush.c  | 3 ++-
 lib/libc/stdio/fvwrite.c | 5 +++--
 lib/libc/stdio/wbuf.c    | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

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