Page MenuHomeFreeBSD

comm: flush stdout for error checking prior to exiting
ClosedPublic

Authored by ccecchi_apple.com on Jun 1 2024, 3:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 17, 11:56 PM
Unknown Object (File)
Dec 10 2024, 7:41 AM
Unknown Object (File)
Dec 2 2024, 12:57 AM
Unknown Object (File)
Dec 2 2024, 12:55 AM
Unknown Object (File)
Nov 25 2024, 7:14 PM
Unknown Object (File)
Nov 25 2024, 8:37 AM
Unknown Object (File)
Nov 24 2024, 6:06 AM
Unknown Object (File)
Nov 21 2024, 8:54 AM
Subscribers

Details

Summary

UNIX conformance wants utilities to catch any errors when doing I/O, as
opposed to relying on the implicit flush upon exit.
comm currently does not do that.
This commit adds handling of I/O errors on stdout prior to exit.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57989
Build 54877: arc lint + arc unit