]> git.ipfire.org Git - thirdparty/ccache.git/commit
ResultRetriever: Clear m_dest_data between entries
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 1 Aug 2020 07:49:45 +0000 (09:49 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 1 Aug 2020 07:49:45 +0000 (09:49 +0200)
commit10573efc80bc4df5052c9331244041cf4385d9b2
treeee2915ac56a11c22da60f0b4091cace28112f7e5
parent7f95710f574fe532af7297aab0191ca2d94a12de
ResultRetriever: Clear m_dest_data between entries

m_dest_data accidentally keeps its data between result entries so if an
entry has both stderr and dependency file data the stderr data will end
up in the dependency file as well. Fix this by clearing m_dest_data
properly.

Regression in 1cbaa89d1175c906bea48e40eb8f5e8c56b5afe4.

Fixes #629.
src/ResultRetriever.cpp
src/ResultRetriever.hpp
test/suites/base.bash