ftFileStatus contruct failure

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@726 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
ewensun 2008-09-10 14:12:13 +00:00
parent 3af7d41d7f
commit e8d21abdd5
10 changed files with 53 additions and 9 deletions

View file

@ -39,6 +39,8 @@
/***********
* #define FIM_DEBUG 1
***********/
#define FIM_DEBUG 1
FileIndexMonitor::FileIndexMonitor(CacheStrapper *cs, std::string cachedir, std::string pid)
:CacheSource(RS_SERVICE_TYPE_FILE_INDEX, false, cs, cachedir), fi(pid),
@ -185,6 +187,8 @@ void FileIndexMonitor::setPeriod(int period)
void FileIndexMonitor::run()
{
std::cerr << "FileIndexMonitor::run() ";
std::cerr << std::endl;
updateCycle();
@ -217,6 +221,8 @@ void FileIndexMonitor::run()
void FileIndexMonitor::updateCycle()
{
std::cerr << "FileIndexMonitor::updateCycle() ";
std::cerr << std::endl;
time_t startstamp = time(NULL);
/* iterate through all out-of-date directories */

View file

@ -36,6 +36,8 @@
/****
* #define FI_DEBUG 1
****/
#define FI_DEBUG 1
DirEntry::~DirEntry()

View file

@ -43,6 +43,9 @@ FileIndexStore::~FileIndexStore()
* #define FIS_DEBUG2 1
* #define FIS_DEBUG 1
**/
#define FIS_DEBUG2 1
#define FIS_DEBUG 1
/* actual load, once data available */
int FileIndexStore::loadCache(const CacheData &data)