Page MenuHomeFreeBSD

libc/stdio: only rollback FILE state back on EINTR
ClosedPublic

Authored by kib on Sep 2 2022, 2:03 PM.
Tags
None
Referenced Files
F148990880: D36427.diff
Sat, Mar 21, 2:33 PM
F148929935: D36427.diff
Sat, Mar 21, 2:43 AM
Unknown Object (File)
Fri, Mar 20, 8:27 PM
Unknown Object (File)
Fri, Mar 6, 5:49 AM
Unknown Object (File)
Feb 10 2026, 5:44 AM
Unknown Object (File)
Feb 1 2026, 8:59 AM
Unknown Object (File)
Dec 30 2025, 6:53 AM
Unknown Object (File)
Dec 28 2025, 1:37 AM
Subscribers

Details

Summary
Reported by:    JunT <takimoto-j@kba.biglobe.ne.jp>
PR:     266171

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Sep 2 2022, 2:03 PM
This revision is now accepted and ready to land.Sep 2 2022, 2:10 PM

What about the handling of fflush() errors in __sfvwrite()?

What about the handling of fflush() errors in __sfvwrite()?

I thought that internal handling in __fflush() would be enough, but you are right, the bafaa70b6f9098d83d0 needs the similar adjustment.

Apply the EINTR check for __sfvwrite() as well

This revision now requires review to proceed.Sep 2 2022, 2:23 PM
This revision is now accepted and ready to land.Sep 2 2022, 3:12 PM
This revision was automatically updated to reflect the committed changes.