]> git.ipfire.org Git - thirdparty/ccache.git/commit
Don’t fail fatally if temporary cpp_stderr file is missing
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 21 Oct 2019 18:06:22 +0000 (20:06 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 21 Oct 2019 18:09:07 +0000 (20:09 +0200)
commitc74dbfe5d43fc23733bd44839b9bd119da94ba26
treeac516c7525117d25c2ee03c3094ef15a136b725e
parent2a5eacc4bd99e150e4952833aa035c81585961e4
Don’t fail fatally if temporary cpp_stderr file is missing

If the temporary cpp_stderr file is missing when the compilation command
has finished then either some user removed it or ccache removed it in
clean_up_internal_tempdir (since the compilation took more than hour or
the system clock was adjusted?). In either case, let’s just fall back to
running the real compiler instead of failing fatally.

Fixes #480 and #154.
src/ccache.c