summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-06-15 14:50:00 +0200
committerJoel Rosdahl <joel@rosdahl.net>2017-06-15 20:29:35 +0200
commite4e87aa7ef0c1a7ccbdb47041acf49cefa08d216 (patch)
tree325ab66a15652d0faa288dfd54223f06e4b7f28c
parentc85a64283f8c2ebbe6e01f608fafdd28d833f776 (diff)
downloadccache-e4e87aa7ef0c1a7ccbdb47041acf49cefa08d216.tar.gz
Update log message and docs when using SLOPPY_FILE_STAT_MATCHES
The size is no longer part of this check.
-rw-r--r--MANUAL.txt2
-rw-r--r--manifest.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index c960979c..a72922a7 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -491,7 +491,7 @@ when compiling preprocessed source code.
*file_stat_matches*::
ccache normally examines a file's contents to determine whether it matches
the cached version. With this option set, ccache will consider a file as
- matching its cached version if the sizes, mtimes and ctimes match.
+ matching its cached version if the mtimes and ctimes match.
*include_file_ctime*::
By default, ccache also will not cache a file if it includes a header whose
ctime is too new. This option disables that check.
diff --git a/manifest.c b/manifest.c
index b84cc55a..f84bef44 100644
--- a/manifest.c
+++ b/manifest.c
@@ -383,10 +383,10 @@ verify_object(struct conf *conf, struct manifest *mf, struct object *obj,
if (conf->sloppiness & SLOPPY_FILE_STAT_MATCHES) {
if (fi->mtime == st->mtime && fi->ctime == st->ctime) {
- cc_log("size/mtime/ctime hit for %s", path);
+ cc_log("mtime/ctime hit for %s", path);
continue;
} else {
- cc_log("size/mtime/ctime miss for %s", path);
+ cc_log("mtime/ctime miss for %s", path);
}
}