From: Anders Björklund Date: Thu, 21 Jul 2016 12:08:54 +0000 (+0200) Subject: Including trailing quote and cpp flags in the hash X-Git-Tag: v3.3~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35d65fe3a2f4f22bceec8d6baf0d718729eface6;p=thirdparty%2Fccache.git Including trailing quote and cpp flags in the hash When looking for which headers are system headers ("3") in the commit 219783844c63d37c26f771c1471f3fe2943f9a88, we skipped hashing the quote and flags... Restore that. Shouldn't make any major difference, but changes the hash. Closes #120. --- diff --git a/ccache.c b/ccache.c index 20ab1aa1f..1af1b040c 100644 --- a/ccache.c +++ b/ccache.c @@ -814,7 +814,7 @@ process_preprocessed_file(struct mdfour *hash, const char *path) } inc_path = make_relative_path(inc_path); remember_include_file(inc_path, hash, system); - p = r; + p = q; } else { q++; }