From 35d65fe3a2f4f22bceec8d6baf0d718729eface6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Anders=20Bj=C3=B6rklund?= Date: Thu, 21 Jul 2016 14:08:54 +0200 Subject: [PATCH] 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. --- ccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- 2.47.2