Page MenuHomePhabricator

TarWriter: Only use 137 of the 155 prefix bytes.
ClosedPublic

Authored by thakis on Mon, Apr 27, 10:02 AM.

Details

Summary

This makes lld's --reproduce output more compatible with tar 1.13 and
before. This is a very old version of tar, but it's the version in
both gnuwin and unxutils, and the cost for supporting them are very
low, so we might as well just do that.

https://bugs.chromium.org/p/chromium/issues/detail?id=1073524#c21
and onward has more details.

Diff Detail

Event Timeline

thakis created this revision.Mon, Apr 27, 10:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptMon, Apr 27, 10:02 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
hans accepted this revision.Mon, Apr 27, 10:09 AM

Looks great to me. Thanks for figuring this out!

This revision is now accepted and ready to land.Mon, Apr 27, 10:09 AM
This revision was automatically updated to reflect the committed changes.