Switch to unified view

a/src/index/fsindexer.cpp b/src/index/fsindexer.cpp
...
...
456
    if (doc.utf8fn.empty())
456
    if (doc.utf8fn.empty())
457
        doc.utf8fn = utf8fn;
457
        doc.utf8fn = utf8fn;
458
458
459
    char cbuf[100]; 
459
    char cbuf[100]; 
460
    sprintf(cbuf, OFFTPC, stp->st_size);
460
    sprintf(cbuf, OFFTPC, stp->st_size);
461
    doc.fbytes = cbuf;
461
    doc.pcbytes = cbuf;
462
    // Document signature for up to date checks: concatenate
462
    // Document signature for up to date checks: concatenate
463
    // m/ctime and size. Looking for changes only, no need to
463
    // m/ctime and size. Looking for changes only, no need to
464
    // parseback so no need for reversible formatting. Also set,
464
    // parseback so no need for reversible formatting. Also set,
465
    // but never used, for subdocs.
465
    // but never used, for subdocs.
466
    makesig(stp, doc.sig);
466
    makesig(stp, doc.sig);
...
...
517
    fileDoc.mimetype = interner.getMimetype();
517
    fileDoc.mimetype = interner.getMimetype();
518
    fileDoc.url = cstr_fileu + fn;
518
    fileDoc.url = cstr_fileu + fn;
519
519
520
    char cbuf[100]; 
520
    char cbuf[100]; 
521
    sprintf(cbuf, OFFTPC, stp->st_size);
521
    sprintf(cbuf, OFFTPC, stp->st_size);
522
    fileDoc.fbytes = cbuf;
522
    fileDoc.pcbytes = cbuf;
523
    // Document signature for up to date checks.
523
    // Document signature for up to date checks.
524
    makesig(stp, fileDoc.sig);
524
    makesig(stp, fileDoc.sig);
525
#ifdef IDX_THREADS
525
#ifdef IDX_THREADS
526
    IndexingTask *tp = new IndexingTask(parent_udi, cstr_null, fileDoc);
526
    IndexingTask *tp = new IndexingTask(parent_udi, cstr_null, fileDoc);
527
    if (!m_wqueue.put(tp))
527
    if (!m_wqueue.put(tp))