1 diff -Naur ccache-3.0pre0.org/ccache.c ccache-3.0pre0/ccache.c
2 --- ccache-3.0pre0.org/ccache.c 2010-02-28 21:14:39.000000000 +0100
3 +++ ccache-3.0pre0/ccache.c 2010-03-22 08:08:43.000000000 +0100
6 compilercheck = getenv("CCACHE_COMPILERCHECK");
8 - compilercheck = "mtime";
9 + compilercheck = "size";
11 if (strcmp(compilercheck, "none") == 0) {
13 } else if (strcmp(compilercheck, "content") == 0) {
14 hash_file(&hash, args->argv[0]);
15 + } else if (strcmp(compilercheck, "size") == 0){
16 + hash_int(&hash, st.st_size);
18 hash_int(&hash, st.st_size);
19 hash_int(&hash, st.st_mtime);