|
a/src/index/indexer.cpp |
|
b/src/index/indexer.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: indexer.cpp,v 1.43 2006-10-25 11:50:49 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: indexer.cpp,v 1.44 2006-11-07 06:41:44 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
365 |
|
365 |
|
366 |
FileInterner::Status fis = FileInterner::FIAgain;
|
366 |
FileInterner::Status fis = FileInterner::FIAgain;
|
367 |
bool hadNullIpath = false;
|
367 |
bool hadNullIpath = false;
|
368 |
Rcl::Doc doc;
|
368 |
Rcl::Doc doc;
|
369 |
char ascdate[20];
|
369 |
char ascdate[20];
|
370 |
sprintf(ascdate, "%ld", long(stp->st_ctime));
|
370 |
sprintf(ascdate, "%ld", long(stp->st_mtime));
|
371 |
while (fis == FileInterner::FIAgain) {
|
371 |
while (fis == FileInterner::FIAgain) {
|
372 |
doc.erase();
|
372 |
doc.erase();
|
373 |
|
373 |
|
374 |
string ipath;
|
374 |
string ipath;
|
375 |
fis = interner.internfile(doc, ipath);
|
375 |
fis = interner.internfile(doc, ipath);
|