From: Joel Rosdahl Date: Mon, 29 Jul 2019 20:13:38 +0000 (+0200) Subject: Update next version to 4.0 X-Git-Tag: v4.0~845 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2d99fd0df30b0b8fc0a1d69a6073a5abee81d076;p=thirdparty%2Fccache.git Update next version to 4.0 I think that it makes sense to do a major version bump because of the C++11 requirement and major changes like introduction of result files, zstd compression and BLAKE2b hashing. --- diff --git a/doc/MANUAL.adoc b/doc/MANUAL.adoc index a8e1f5e91..edac39300 100644 --- a/doc/MANUAL.adoc +++ b/doc/MANUAL.adoc @@ -466,7 +466,7 @@ WARNING: Do not enable this option unless you are aware of these caveats: + * If the resulting file is modified, the file in the cache will also be modified since they share content, which corrupts the cache entry. As of - version 3.8, ccache performs a simple integrity check for cached files by + version 4.0, ccache performs a simple integrity check for cached files by verifying that their sizes are correct. This means that mistakes like `strip file.o` or `echo >file.o` will be detected, but a modification that doesn't change the file size will not. diff --git a/src/manifest.cpp b/src/manifest.cpp index 623ade180..babc6cf8a 100644 --- a/src/manifest.cpp +++ b/src/manifest.cpp @@ -100,7 +100,7 @@ // =============== // // 1: Introduced in ccache 3.0. (Files are always compressed with gzip.) -// 2: Introduced in ccache 3.8. +// 2: Introduced in ccache 4.0. const char MANIFEST_MAGIC[4] = {'c', 'C', 'm', 'F'}; static const uint32_t MAX_MANIFEST_ENTRIES = 100; diff --git a/src/result.cpp b/src/result.cpp index c1374e31d..147ecaf53 100644 --- a/src/result.cpp +++ b/src/result.cpp @@ -80,7 +80,7 @@ // Version history // =============== // -// 1: Introduced in ccache 3.8. +// 1: Introduced in ccache 4.0. extern const struct conf* conf; extern char* stats_file;