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, Nov 10, 12:30 AM
Unknown Object (File)
Mon, Nov 3, 1:09 PM
Unknown Object (File)
Mon, Nov 3, 12:22 PM
Unknown Object (File)
Wed, Oct 29, 6:35 AM
Unknown Object (File)
Wed, Oct 29, 6:35 AM
Unknown Object (File)
Wed, Oct 29, 6:35 AM
Unknown Object (File)
Tue, Oct 28, 11:59 PM
Unknown Object (File)
Sat, Oct 18, 2:59 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.