]> git.ipfire.org Git - thirdparty/ccache.git/commit
Revert "fix: Fall back to copying temporary preprocessed output file"
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 7 Jun 2022 12:40:08 +0000 (14:40 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 7 Jun 2022 14:15:10 +0000 (16:15 +0200)
commit3add35074a6d9c7e64274bedca5b667c9e36367a
treed75c2feccbdbc207284f9335ca350cb509f105e3
parent375d566635a934ba22287c391f39e58e85aa8567
Revert "fix: Fall back to copying temporary preprocessed output file"

This reverts commit cbedccc9fa30f8958dc3e7fbdf900a952f63d5ad since the
fix doesn't work.

The hard link in question is used in get_result_key_from_cpp to create
an alias of file that captures stdout from the preprocessor, where the
alias has the correct cpp extension. It can't just be a copy since
do_execute writes to the original name. See #1079.
src/Result.cpp
src/ResultRetriever.cpp
src/Util.cpp
src/Util.hpp
src/ccache.cpp