diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2013-05-19 20:14:05 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2013-05-19 20:14:05 (GMT) |
commit | 24e726fb58d2eca9e18575ffb76e547f958608de (patch) | |
tree | 18ca1837beb4bfea67c3d5a46f3cc4fee4689165 /src/ModuleCache.cc | |
parent | e25fff81af72a31f6118f4840b65193aa0ec1d0a (diff) |
first refactoring towards fixing issue364
Diffstat (limited to 'src/ModuleCache.cc')
-rw-r--r-- | src/ModuleCache.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ModuleCache.cc b/src/ModuleCache.cc index 4944495..8a082af 100644 --- a/src/ModuleCache.cc +++ b/src/ModuleCache.cc @@ -19,9 +19,11 @@ */ ModuleCache *ModuleCache::inst = NULL; +#include <iostream> static bool is_modified(const std::string &filename, const time_t &mtime) { + std::cout << "cache ismod " << filename << "\n"; struct stat st; memset(&st, 0, sizeof(struct stat)); stat(filename.c_str(), &st); @@ -30,6 +32,7 @@ static bool is_modified(const std::string &filename, const time_t &mtime) FileModule *ModuleCache::evaluate(const std::string &filename) { + std::cout << "modcache eval" << filename << "\n"; FileModule *lib_mod = NULL; // Create cache ID |