Fixes SF bug 1319 which shows up as a failure in the ccache tests on Debian 64 bit Wheezy, possibly because ENABLE_ZLIB is defined. This bug is due to files being too aggressively cleaned up part way through the caching. The .stderr file is cached and then retrieved from the cache for displaying to stderr. However, the stats are updated between caching and using the .stderr file. During the stats update the cache is cleaned and the newly cached files can be removed if the max number of files per directory is low. Really the cache should be cleaned up at exit to solve this (as is done in ccache-3.1). The workaround fix ensures the cached files are ignored during cleanup, which is a bit tricky as sometimes files from a previous run have the same time stamp, so that don't appear to be the oldest in the cache. |
||
|---|---|---|
| .. | ||
| debian | ||
| packaging | ||
| web | ||
| args.c | ||
| ccache.c | ||
| ccache.h | ||
| ccache.yo | ||
| ccache_swig_config.h.in | ||
| cleanup.c | ||
| configure.ac | ||
| COPYING | ||
| execute.c | ||
| hash.c | ||
| install-sh | ||
| Makefile.in | ||
| mdfour.c | ||
| mdfour.h | ||
| README | ||
| README.swig | ||
| snprintf.c | ||
| stats.c | ||
| test.sh | ||
| unify.c | ||
| util.c | ||
This is a re-implementation of "compilercache" in C The original compilercache scripts were by Erik Thiele (erikyyy@erikyyy.de) and I would like to thank him for an excellent piece of work. See http://www.erikyyy.de/compilercache/ for the original shell scripts. I wrote ccache because I wanted to get a bit more speed out of a compiler cache and I wanted to remove some of the limitations of the shell-script version. Please see the manual page and documentation at http://ccache.samba.org/ INSTALLATION ------------ Please run: ./configure make make install then read the ccache manual page ----------- Andrew Tridgell http://samba.org/~tridge/ bugs@ccache.samba.org