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)
Mon, Oct 6, 2:23 AM
Unknown Object (File)
Sun, Sep 21, 4:01 AM
Unknown Object (File)
Sat, Sep 20, 4:57 PM
Unknown Object (File)
Sep 8 2025, 10:38 AM
Unknown Object (File)
Aug 31 2025, 6:56 PM
Unknown Object (File)
Aug 11 2025, 2:35 PM
Unknown Object (File)
Jul 13 2025, 7:05 AM
Unknown Object (File)
Jul 8 2025, 9:25 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.