According to Jerry Asher:
> I haven't played with htdig in about 18 months. Mainly because 3.2.0b3
> was working fine for me.
>
> Installing 3.2.0b4-20030706 I notice a problem that may have been in b3.
> I don't know.
>
> Whenever I perform an htsearch using the boolean method and pass in
> multiple config parameters, htsearch returns an error and says that
> "boolean_syntax_errors attribute should have six entries"
>
> If I pass in only one config file, everything works. More than one config
> file, and the error is returned.
>
> This is a bug, right?
D'oh! I found and fixed a similar bug with boolean_keywords a month ago,
but I hadn't tested boolean searches with multiple configs. Here's the
patch... Please let me know if that does the trick.
--- htsearch/parser.cc.orig 2003-06-24 15:40:12.000000000 -0500
+++ htsearch/parser.cc 2003-07-08 14:41:04.000000000 -0500
@@ -56,6 +56,7 @@ Parser::checkSyntax(List *tokenList)
// Expected "a search word" "at the end" "instead of" "end of expression"
// 5
// "a closing quote"
+ boolean_syntax_errors.Destroy();
boolean_syntax_errors.Create(config->Find("boolean_syntax_errors"), "|
\t\r\n\001");
if (boolean_syntax_errors.Count() == 5)
{ // for backward compatibility
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada)
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general