Geoff Hutchison (Geoffrey.R.Hutchison@williams.edu)
Sun, 22 Nov 1998 13:58:10 -0500
At 3:49 AM -0500 11/16/98, Zvi Har'El wrote:
>The bug was both in 3.0.8b2 and 3.1.0b2
Try this:
*** htdig3/htsearch/htsearch.cc Sat Oct 31 19:00:40 1998
--- htdig3.dev/htsearch/htsearch.cc Thu Nov 19 00:23:51 1998
*************** setupWords(char *allWords, List &searchW
*** 373,378 ****
--- 373,382 ----
}
if (badWords.IsValid(p))
parsedWords << p << ' ';
+ if (boolean && ((mystrncasecmp(p, "or", 2) == 0) ||
+ (mystrncasecmp(p, "and", 3) == 0) ||
+ (mystrncasecmp(p, "not", 3) == 0)))
+ parsedWords << p << ' ';
}
parsedWords.chop(' ');
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.
This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:28:50 PST