|
a/src/index/fsindexer.cpp |
|
b/src/index/fsindexer.cpp |
|
... |
|
... |
386 |
|
386 |
|
387 |
LOGDEB0(("processone: processing: [%s] %s\n",
|
387 |
LOGDEB0(("processone: processing: [%s] %s\n",
|
388 |
displayableBytes(stp->st_size).c_str(), fn.c_str()));
|
388 |
displayableBytes(stp->st_size).c_str(), fn.c_str()));
|
389 |
|
389 |
|
390 |
FileInterner interner(fn, stp, m_config, m_tmpdir, FileInterner::FIF_none);
|
390 |
FileInterner interner(fn, stp, m_config, m_tmpdir, FileInterner::FIF_none);
|
|
|
391 |
if (!interner.ok()) {
|
|
|
392 |
// no indexing whatsoever in this case. This typically means that
|
|
|
393 |
// indexallfilenames is not set
|
|
|
394 |
return FsTreeWalker::FtwOk;
|
|
|
395 |
}
|
391 |
|
396 |
|
392 |
// File name transcoded to utf8 for indexation.
|
397 |
// File name transcoded to utf8 for indexation.
|
393 |
string charset = m_config->getDefCharset(true);
|
398 |
string charset = m_config->getDefCharset(true);
|
394 |
// If this fails, the file name won't be indexed, no big deal
|
399 |
// If this fails, the file name won't be indexed, no big deal
|
395 |
// Note that we used to do the full path here, but I ended up believing
|
400 |
// Note that we used to do the full path here, but I ended up believing
|