Page MenuHomeFreeBSD

lam: fail on I/O errors
ClosedPublic

Authored by ccecchi_apple.com on Jun 1 2024, 3:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 31, 7:34 AM
Unknown Object (File)
Oct 18 2024, 3:43 PM
Unknown Object (File)
Oct 16 2024, 6:10 AM
Unknown Object (File)
Sep 3 2024, 8:21 AM
Unknown Object (File)
Aug 9 2024, 11:05 AM
Unknown Object (File)
Aug 4 2024, 7:07 PM
Unknown Object (File)
Jul 29 2024, 1:57 AM
Unknown Object (File)
Jul 18 2024, 9:54 AM
Subscribers

Details

Summary

I/O errors should be reported; however lam currently does not
disambiguate between EOF because end-of-file was reached and EOF because
an I/O error occurred.
This commit changes lam to exit with EX_IOERR when an I/O error occurs.

Diff Detail

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