Page MenuHomeFreeBSD

ar: report errno on warning/error
ClosedPublic

Authored by emaste on Oct 22 2018, 6:46 PM.
Tags
None
Referenced Files
F171674097: D17650.id49501.diff
Sat, Sep 12, 2:36 PM
Unknown Object (File)
Wed, Sep 9, 6:58 PM
Unknown Object (File)
Wed, Sep 9, 6:38 PM
Unknown Object (File)
Wed, Sep 9, 1:52 AM
Unknown Object (File)
Tue, Sep 8, 3:02 PM
Unknown Object (File)
Tue, Sep 8, 3:09 AM
Unknown Object (File)
Mon, Sep 7, 6:12 PM
Unknown Object (File)
Mon, Sep 7, 2:45 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.