This fixes a problem where two SIGINT (Ctrl+C) signals were needed to
terminate an ongoing compilation. (The first SIGINT terminated the
compiler which exited with non-zero status, which ccache then went on
interpreting as an ordinary failed compilation, leading to rerunning the
compiler via failed().)
- Avoid calling `exit()` inside an exit handler.
+- Let exit handler terminate properly.
+
- Only log "Disabling direct mode" once when failing to read potential include
files.
{
(void)signo;
clean_up_pending_tmp_files();
+ _exit(1);
}
static void