From a3ea236bb20eb542ac0d1c5435d43f17a303d650 Mon Sep 17 00:00:00 2001 From: Chiaki ISHIKAWA Date: Tue, 10 Mar 2015 21:28:27 +0900 Subject: [PATCH 3/8] Use x_unlink instead of unlink per HACKING.txt --- ccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccache.c b/ccache.c index ac2b915..44383d1 100644 --- a/ccache.c +++ b/ccache.c @@ -954,7 +954,7 @@ to_cache(struct args *args) * previous ccache versions. */ if (getpid() % 1000 == 0) { char *path = format("%s/CACHEDIR.TAG", conf->cache_dir); - unlink(path); + x_unlink(path); free(path); } } -- 2.1.4