Page MenuHomeFreeBSD

ar: report errno on warning/error
ClosedPublic

Authored by emaste on Oct 22 2018, 6:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 19, 1:05 PM
Unknown Object (File)
Thu, Mar 19, 10:17 AM
Unknown Object (File)
Thu, Feb 26, 10:31 PM
Unknown Object (File)
Feb 2 2026, 3:17 PM
Unknown Object (File)
Feb 1 2026, 9:38 AM
Unknown Object (File)
Jan 31 2026, 11:06 AM
Unknown Object (File)
Jan 30 2026, 7:46 PM
Unknown Object (File)
Dec 2 2025, 1:35 AM
Subscribers

Details

Summary

Previously ar would report an error like "ar: fatal: Write error" without including additional errno information. Change warnings and errors to include archive_errno() so that the user may have some idea of the reason for the failure.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Oct 22 2018, 9:19 PM
This revision was automatically updated to reflect the committed changes.