From e34368197b3d2acf44adc7ab2c9aa95b4d1e4206 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Thu, 7 Jun 2018 21:48:42 +0200 Subject: [PATCH] Improve logging related to hashing of the CWD --- src/ccache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ccache.c b/src/ccache.c index 434218308..848eecbb9 100644 --- a/src/ccache.c +++ b/src/ccache.c @@ -1600,7 +1600,7 @@ calculate_common_hash(struct args *args, struct mdfour *hash) if (sep) { char *old = x_strndup(map, sep - map); char *new = x_strdup(sep + 1); - cc_log("Relocating debuginfo cwd %s, from %s to %s", cwd, old, new); + cc_log("Relocating debuginfo CWD %s from %s to %s", cwd, old, new); if (str_startswith(cwd, old)) { char *dir = format("%s%s", new, cwd + strlen(old)); free(cwd); @@ -1611,6 +1611,7 @@ calculate_common_hash(struct args *args, struct mdfour *hash) } } if (cwd) { + cc_log("Hashing CWD %s", cwd); hash_delimiter(hash, "cwd"); hash_string(hash, cwd); free(cwd); -- 2.47.2