Re: PERCENT returning 1% on big hits

Jim <[email protected]>
Newsgroups gmane.comp.web.htdig.general,gmane.comp.web.htdig.devel
Message-ID <[email protected]>
On Fri, 2 Jul 2004, Eli White wrote:

> >Based on a quick look, I think it is an easy fix. However you would need
> >to touch the source and rebuild at least htsearch. My assumption is that
> >if you replace the 100 with 100.0 at line 314 of htsearch/Display.cc (for
> >ht://Dig 3.1.6), then you will avoid the overflow and correct the problem
> >you are encountering. I haven't actually tested this. If you are able to
> >test this and it solves the problem, please let us know. You might also
> >consider submitting a bug report if you get a chance just to make sure
> >this issue doesn't get lost in the shuffle.
> 
> Hey, whaddya know :)  It works.

Thanks for the feedback.

> Should I still file a bug report on this to get it 'officially 
> fixed'?  (3.1.7 anyone?)

Probably not necessary. The thread is archived, a patch is in the 3.1.6
repository (thanks Joe!), and it doesn't look like the bug affects the
3.2 branch. If someone gets around to putting together a 3.1.7 release,
I am sure they will check all the existing patches to see what needs to
be included.


Jim


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.