diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-08-21 16:22:29 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-08-21 16:22:29 -0400 |
commit | 72bfb1fdb84ff5e17bc2a81b1ec25215db700ceb (patch) | |
tree | 2d2c1ff5583d83fb3ff99ad9bc1c2607c0c3f4f7 /main.cxx | |
parent | 36ef6d6a310d7a4a35a3c505d041e9fbd11125fa (diff) | |
download | systemtap-steved-72bfb1fdb84ff5e17bc2a81b1ec25215db700ceb.tar.gz systemtap-steved-72bfb1fdb84ff5e17bc2a81b1ec25215db700ceb.tar.xz systemtap-steved-72bfb1fdb84ff5e17bc2a81b1ec25215db700ceb.zip |
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.
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |