Page MenuHomeFreeBSD

ar: enable reproducible output by default when invoked as `ar -s`
ClosedPublic

Authored by emaste on Jun 16 2016, 5:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 6:33 PM
Unknown Object (File)
Sat, Oct 4, 11:50 PM
Unknown Object (File)
Sun, Sep 28, 11:48 PM
Unknown Object (File)
Sun, Sep 28, 11:44 PM
Unknown Object (File)
Sat, Sep 27, 10:02 PM
Unknown Object (File)
Sat, Sep 27, 3:21 PM
Unknown Object (File)
Wed, Sep 17, 7:58 AM
Unknown Object (File)
Aug 21 2025, 8:14 AM
Subscribers
None

Details

Summary

ar output is currently deterministic by default for ar -q and ar -r, and when invoked as ranlib. Make ar -s equivalent to ranlib and enable deterministic output by default in that case too.

PR 210330 https://bugs.freebsd.org/210330

Diff Detail

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

Event Timeline

emaste retitled this revision from to ar: enable reproducible output by default when invoked as `ar -s`.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: bdrewery, bapt.
bdrewery edited edge metadata.

"Invoking ar with the -s option alone is equivalent to invoking ranlib." convinced me

This revision is now accepted and ready to land.Jun 16 2016, 5:58 PM
This revision was automatically updated to reflect the committed changes.