Re: htdig: Virtual memory exceeded in `new'


Frank Guangxin Liu (frank@ctcqnx4.ctc.cummins.com)
Fri, 10 Oct 1997 11:11:32 -0500 (EST)


>
> You need to use the new 3.08b2 version. There are some major memory leaks
> in the 3.08b1. I had the same problem which went away when I tried 3.08b2.
> It compiles no problem under Linux.
>
> Also, for those struggling with exclude option, I found the logic reversed
> in htsearch/Display.cc. Here are my changes. The commented

Does this mean that without this patch 3.08b2 won't work with
exclude option?

> out lines are the original.
>
> line 108:
>
> //*****************************************************************************
> // Return true if the specified URL should be counted towards the results.
> int
> Display::includeURL(char *url)
> {
> if (limitTo && limitTo->FindFirst(url) < 0)
> {
> return 0;
> }
> else
> {
> // if (excludeFrom && excludeFrom->FindFirst(url) < 0)
> if (excludeFrom && excludeFrom->FindFirst(url) <= 0)
> // return 0;
> return 1;
> else
> // return 1;
> return 0;
> }
> }
>
> --
> Andrew Ukrainec e-mail: ukrainec@infoukes.com
> < (*) > / \ < (*) >
> InfoUkes Inc. phone: (416) 236-4865
> ----------------------------------------------------------------------
> 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.
>

----------------------------------------------------------------------
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:25:10 PST