Re: htdig: htdig mishandles commas in META tag keyword list?


Brad Shelton (brad.shelton@centurytel.com)
Mon, 03 Aug 1998 09:48:19 -0500


Nick Talbott wrote:

> Brad Shelton wrote:
> > The problem is, htdig doesn't merely ignore or strip any commas that are
> > there, but rather lumps them in as part of the keyword (according to the
> > debug output we've seen). That is, the tag
>
>
> I noticed this behaviour and a quick scan through the source reveals a
> solution.
> Patch the source file htdig/HTML.cc as follows:.
> Add a comma to the second parameter of the strtok call in each of lines
> 547, 552, 567 and 572 of the file.
>
> For example in line 547:
> char *w = strtok(keywords, " ,\t\r\n");
> =
> If you make this patch, run "make depend" to update dependencies before
> re-compiling

I had made a fix of my own on Friday, but the one posted by both Nick &
Chris is a better solution. Thanks for the replies--

Brad Shelton
brad.shelton@centurytel.com
----------------------------------------------------------------------
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:27:17 PST