Switch to unified view

a/src/common/rclinit.cpp b/src/common/rclinit.cpp
...
...
105
    setlocale(LC_CTYPE, "");
105
    setlocale(LC_CTYPE, "");
106
106
107
    // Make sure the locale charset is initialized (so that multiple
107
    // Make sure the locale charset is initialized (so that multiple
108
    // threads don't try to do it at once).
108
    // threads don't try to do it at once).
109
    config->getDefCharset();
109
    config->getDefCharset();
110
110
    // Init unac locking
111
    // Init unac locking
111
    unac_init_mt();
112
    unac_init_mt();
113
114
    // Init Unac translation exceptions
115
    string unacex;
116
    if (config->getConfParam("unac_except_trans", unacex) && !unacex.empty()) 
117
  unac_set_except_translations(unacex.c_str());
112
118
113
    int flushmb;
119
    int flushmb;
114
    if (config->getConfParam("idxflushmb", &flushmb) && flushmb > 0) {
120
    if (config->getConfParam("idxflushmb", &flushmb) && flushmb > 0) {
115
    LOGDEB1(("rclinit: idxflushmb=%d, set XAPIAN_FLUSH_THRESHOLD to 10E6\n",
121
    LOGDEB1(("rclinit: idxflushmb=%d, set XAPIAN_FLUSH_THRESHOLD to 10E6\n",
116
         flushmb));
122
         flushmb));