Switch to unified view

a/src/common/rclinit.cpp b/src/common/rclinit.cpp
...
...
27
27
28
#include "debuglog.h"
28
#include "debuglog.h"
29
#include "rclconfig.h"
29
#include "rclconfig.h"
30
#include "rclinit.h"
30
#include "rclinit.h"
31
#include "pathut.h"
31
#include "pathut.h"
32
#include "unac.h"
32
33
33
static const int catchedSigs[] = {SIGHUP, SIGINT, SIGQUIT, SIGTERM, 
34
static const int catchedSigs[] = {SIGHUP, SIGINT, SIGQUIT, SIGTERM, 
34
     SIGUSR1, SIGUSR2};
35
     SIGUSR1, SIGUSR2};
35
36
36
RclConfig *recollinit(RclInitFlags flags, 
37
RclConfig *recollinit(RclInitFlags flags, 
...
...
97
    setlocale(LC_CTYPE, "");
98
    setlocale(LC_CTYPE, "");
98
99
99
    // Make sure the locale charset is initialized (so that multiple
100
    // Make sure the locale charset is initialized (so that multiple
100
    // threads don't try to do it at once).
101
    // threads don't try to do it at once).
101
    config->getDefCharset();
102
    config->getDefCharset();
103
    // Init unac locking
104
    unac_init_mt();
102
105
103
    int flushmb;
106
    int flushmb;
104
    if (config->getConfParam("idxflushmb", &flushmb) && flushmb > 0) {
107
    if (config->getConfParam("idxflushmb", &flushmb) && flushmb > 0) {
105
    LOGDEB(("rclinit: idxflushmb=%d, set XAPIAN_FLUSH_THRESHOLD to 10E6\n",
108
    LOGDEB(("rclinit: idxflushmb=%d, set XAPIAN_FLUSH_THRESHOLD to 10E6\n",
106
        flushmb));
109
        flushmb));