mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
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:
parent
3af7d41d7f
commit
e8d21abdd5
10 changed files with 53 additions and 9 deletions
|
@ -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 */
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
/****
|
||||
* #define FI_DEBUG 1
|
||||
****/
|
||||
|
||||
#define FI_DEBUG 1
|
||||
|
||||
|
||||
DirEntry::~DirEntry()
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue