From 72bfb1fdb84ff5e17bc2a81b1ec25215db700ceb Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 21 Aug 2009 16:22:29 -0400 Subject: PR10543: do module cache cleaning before copying new file into the cache ... otherwise the new stuff can get cleaned before use. * cache.cxx (add_to_cache): Do clean_cache() first, not last. --- main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cxx') diff --git a/main.cxx b/main.cxx index bc0d7389..15447efc 100644 --- a/main.cxx +++ b/main.cxx @@ -1229,7 +1229,7 @@ main (int argc, char * const argv []) << endl; else { - // Update cache. Cache cleaning is kicked off at the end of this function. + // Update cache. Cache cleaning is kicked off at the beginning of this function. if (s.use_cache) add_to_cache(s); -- cgit