Page MenuHomeFreeBSD

ar: report errno on warning/error
ClosedPublic

Authored by emaste on Oct 22 2018, 6:46 PM.
Tags
None
Referenced Files
F166955014: D17650.diff
Tue, Aug 18, 2:50 AM
Unknown Object (File)
Sat, Aug 8, 5:27 PM
Unknown Object (File)
Sat, Aug 8, 11:30 AM
Unknown Object (File)
Mon, Jul 27, 1:54 PM
Unknown Object (File)
Sun, Jul 26, 3:55 PM
Unknown Object (File)
Sat, Jul 25, 11:03 PM
Unknown Object (File)
Jul 6 2026, 1:04 AM
Unknown Object (File)
Jun 26 2026, 4:23 PM
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.