]> git.ipfire.org Git - thirdparty/ccache.git/commit
Remove incorrect preconditions for outputting captured stderr
authorryb <ryb@ableton.com>
Sat, 7 Feb 2015 13:28:48 +0000 (14:28 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 9 Feb 2015 20:32:04 +0000 (21:32 +0100)
commit6318b2d49b6ef8fe1c3c6ffec95af2c8fec3242a
tree83863d6563229e88f823795c66873b59c2f43bca
parent55cfbf2bbf4bff7ad77c514ba30c7c0a3a90bab3
Remove incorrect preconditions for outputting captured stderr

errno is set in an unrelated system call. In my tests involving compiler
failures, it is last set to ENOENT in from_cache() when calling stat() for the
cached object, accidentally making "errno == ENOENT" true.

The condition was no longer necessary as of 18a645451 ("Create destination file
and then copy into cache instead of the opposite"), as the temp output file no
longer needed to be moved.
ccache.c