|
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.62 2007-08-30 09:01:52 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: indexer.cpp,v 1.63 2007-10-04 12:20:56 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
|
|
... |
|
... |
410 |
charset.c_str(), path_getsimple(fn).c_str()));
|
410 |
charset.c_str(), path_getsimple(fn).c_str()));
|
411 |
} else if (ercnt) {
|
411 |
} else if (ercnt) {
|
412 |
LOGDEB(("processone: fn transcode %d errors from [%s] to UTF-8: %s\n",
|
412 |
LOGDEB(("processone: fn transcode %d errors from [%s] to UTF-8: %s\n",
|
413 |
ercnt, charset.c_str(), path_getsimple(fn).c_str()));
|
413 |
ercnt, charset.c_str(), path_getsimple(fn).c_str()));
|
414 |
}
|
414 |
}
|
|
|
415 |
LOGDEB2(("processone: fn transcoded from [%s] to [%s] (%s->%s)\n",
|
|
|
416 |
path_getsimple(fn).c_str(), utf8fn.c_str(), charset.c_str(), "UTF-8"));
|
415 |
|
417 |
|
416 |
FileInterner::Status fis = FileInterner::FIAgain;
|
418 |
FileInterner::Status fis = FileInterner::FIAgain;
|
417 |
bool hadNullIpath = false;
|
419 |
bool hadNullIpath = false;
|
418 |
Rcl::Doc doc;
|
420 |
Rcl::Doc doc;
|
419 |
char ascdate[20];
|
421 |
char ascdate[20];
|