[htdig3-dev] Cosmetic changes & warnings fixes


Subject: [htdig3-dev] Cosmetic changes & warnings fixes
From: loic@ceic.com
Date: Wed Jan 05 2000 - 04:46:42 PST


       Hi,

       I've just commited cosmetic changes to htword/WordKey.h (for
readability) and fixed a few compilation warnings, as shown below. The
resulting htdig passes test and make distcheck.

          Cheers,

        * htdig/ExternalParser.cc (parse): use nocase_compare instead of mystrcasecmp to
          suppress warnings. (char*)String for mystrncasecmp that has no equivalent in
          the String class.

        * htdig/Retriever.cc (IsValidURL): remove warning by (char*)url

Wed Jan 05 11:54:19 2000 Loic Dachary <loic@ceic.com>

        * htword/WordKey.h: kill obsolete comment and add suffix explanation at
          the beginning of the file.
        
        * htword/WordKey.h (class WordKey): rename copy_from and initialize to CopyFrom
          and Initialize to fit naming conventions. Reorganize the methods to group them
          in logical sets. Fix indenting. Comment each method.

        * htword/WordKey.h (Clear): add kword.trunc()

        * htword/WordKey.h: protect SetWord(const char *str,int len) because it opens
          the door to all kind of specific derivations. Should be
          SetWord(String(foo, foo_length)) if not performance critical.

-- 
		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 : Wed Jan 05 2000 - 03:41:22 PST