[htdig3-dev] htword htdb bug fixes


Subject: [htdig3-dev] htword htdb bug fixes
From: loic@ceic.com
Date: Fri Jan 14 2000 - 07:03:34 PST


       Hi,

       The htdb utilities were only working for the default key, now
they can use a configuration file. The Initialize methods of htword
had an inverted test. And the WordDBCompress missuesed the monitor
member when it was not set.

       Good day :-)

Fri Jan 14 15:56:49 2000 Loic Dachary <loic@ceic.com>

        * htword/WordType.cc,WordRecord.cc,WordKeyInfo.cc (Initialize): change
          inverted test on instance (== instead of !=).

        * htword/WordRecord.cc (WordRecordInfo): change inverted test on compare

Fri Jan 14 14:24:39 2000 Loic Dachary <loic@ceic.com>

        * htdig/htdig.cc,htmerge/htmerge.cc,htsearch/htsearch.cc: Use Initialize(defaults)
          to load configuration file if provided.
        
        * htword/WordDBCompress.cc (Compress): initialize monitor to null in
          constructor and check if null before usage. Core dumped in htdb/htload.

        * htword/WordContext.h (class WordContext): Add
          Initialize(const ConfigDefaults* config_defaults = 0)
          that probe configuration files. Usefull when htword is used as a standalone library.

-- 
		Loic Dachary

24 av Secretan 75019 Paris Tel: 33 1 42 45 09 16 e-mail: loic@dachary.org URL: http://www.senga.org/

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Fri Jan 14 2000 - 07:19:36 PST