-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/67780/
-----------------------------------------------------------
Review request for mesos, Andrew Schwartzmeyer and Kapil Arya.
Bugs: MESOS-9038
https://issues.apache.org/jira/browse/MESOS-9038
Repository: mesos
Description
-------
While fixing MESOS-9008, we accidentally assumed that all links needed
to be corrected when extracting to a different directory. This is
necessary for hardlinks because a hardlink must point to a file
extracted earlier in the archive. However, for symlinks, this is not
the case. When extracted with no header modifications, symlinks will
point to their intended target (i.e. relative symlinks will not be
transformed into targetting absolute paths).
Diffs
-----
3rdparty/stout/include/stout/archiver.hpp
0f249296182172f9b01d53a5f86403689df5a9fa
Diff: https://reviews.apache.org/r/67780/diff/1/
Testing
-------
make check
Manually tested this change against the archive here:
https://downloads.mesosphere.com/libmesos-bundle/libmesos-bundle-1.11.0.tar.gz
^ Specifically looking at items symlinked under `libmesos-bundle/lib/mesos`.
Thanks,
Joseph Wu