From: Joel Rosdahl Date: Thu, 7 Jun 2018 19:48:42 +0000 (+0200) Subject: Improve logging related to hashing of the CWD X-Git-Tag: v3.4.3~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e34368197b3d2acf44adc7ab2c9aa95b4d1e4206;p=thirdparty%2Fccache.git Improve logging related to hashing of the CWD --- 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);