]> git.ipfire.org Git - thirdparty/ccache.git/commit
Don't delete the clang diagnostics file after compiler failures
authorryb <ryb@ableton.com>
Sat, 7 Feb 2015 14:01:34 +0000 (15:01 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 9 Feb 2015 20:32:04 +0000 (21:32 +0100)
commit93e45837ebf5305c0d3abbe205c06123c21905d6
treef671e498c01c9eca7642b91801c27127a929bb8e
parent728deee07cc2a68f5cf8c588ab7d1da66d1855c6
Don't delete the clang diagnostics file after compiler failures

move_file() returns an error when called with the same source and destination,
causing the diagnostics file to be removed.

As of 18a645451 ("Create destination file and then copy into cache instead of
the opposite") it is no longer necessary to move the diagnostics file at all
after a compiler failure.
ccache.c
test.sh