swig/CCache
William Fulton 4ba9365e0f Fix ccache-swig internal error bug due to premature file cleanup
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.
2013-05-19 00:59:28 +01:00
..
debian add debian patch 14_hardllink_doc.diff 2008-12-09 21:44:58 +00:00
packaging Import ccache-2.4 source 2008-11-03 13:37:28 +00:00
web Add debian patch 13_html_links.diff 2008-12-09 21:42:51 +00:00
args.c Import ccache-2.4 source 2008-11-03 13:37:28 +00:00
ccache.c ccache-swig: apply patch #3586392 from Frederik Deweerdt to fix some error cases - incorrectly using memory after it has been deleted 2012-11-14 22:17:52 +00:00
ccache.h Fix ccache-swig internal error bug due to premature file cleanup 2013-05-19 00:59:28 +01:00
ccache.yo fix ordering of chapters 2009-04-01 12:46:26 +00:00
ccache_swig_config.h.in integrate ccache build 2008-11-07 17:03:57 +00:00
cleanup.c Fix ccache-swig internal error bug due to premature file cleanup 2013-05-19 00:59:28 +01:00
configure.ac Rename configure.in files to expected modern name configure.ac 2013-01-12 00:57:17 +00:00
COPYING Import ccache-2.4 source 2008-11-03 13:37:28 +00:00
execute.c add some missing stats and logging 2009-01-08 17:52:15 +00:00
hash.c Import ccache-2.4 source 2008-11-03 13:37:28 +00:00
install-sh Import ccache-2.4 source 2008-11-03 13:37:28 +00:00
Makefile.in display to user ccache-swig install files 2010-04-03 12:04:28 +00:00
mdfour.c Import ccache-2.4 source 2008-11-03 13:37:28 +00:00
mdfour.h Import ccache-2.4 source 2008-11-03 13:37:28 +00:00
README Import ccache-2.4 source 2008-11-03 13:37:28 +00:00
README.swig add info about ccache-win32 patches applied 2008-12-17 00:25:30 +00:00
snprintf.c Import ccache-2.4 source 2008-11-03 13:37:28 +00:00
stats.c Fix ccache-swig internal error bug due to premature file cleanup 2013-05-19 00:59:28 +01:00
test.sh Warning fix for ccache-swig tests 2013-04-28 18:41:11 +01:00
unify.c win32 fixes to pass the ccache test-suite 2008-12-19 21:41:05 +00:00
util.c Fix lack of error logging in some situations and fix failure to work on windows when swig is a pure Win32 (non-cygwin) compile 2009-01-07 02:26:34 +00:00

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