According to Geoff Hutchison:
> On Tue, 10 Jul 2001, Berthold Cogel wrote:
> > know much about C++, but I think the only thing missing is a test in
> > addRequiredWords() in htsearch.cc whether searchWords is empty or not.
> > First when '(' and ')' are inserted and second during the first run of
> > the loop. 
> > But perhaps there is another way to get around this problem.
> 
> No, not easily. It's clearly a bug. For a workaround, I guess you'd have
> to write up some JavaScript to detect if the words field is empty and if
> so, put in the first word in the keywords field.

There's a patch for this problem already.  There's a bit more to it than
just the missing test in addRequiredWords(), as there are problems in the
Display.cc code as well.

See ftp://ftp.ccsf.org/htdig-patches/any_keywords.0

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to