Article View: news.software.readers
Article #21130Re: slrn bugs
From: Olly Betts
Date: Wed, 01 May 1996 00:00
Date: Wed, 01 May 1996 00:00
30 lines
1869 bytes
1869 bytes
In article <slrn4ob6f6.dpg.davis@aluche.mit.edu>, John E. Davis <davis@space.mit.edu> wrote: >[Problems with percentage counts on entering a newsgroup] > >I found one obvious bug in the routine art.c:get_headers. Here is a patch: > >[snip] >+ total -= (max - expected_num) + 1; I've applied this (to slrn 0.8.7.1) and it doesn't improve the pessimistic percentages. A quick sprinkling of debug code reveals that slrn is always getting the article it expects (i.e. the one with article number expected_num), so total isn't being adjusted here or above. It would therefore appear that total is an overestimate. A factor of 3 off is common (i.e. percentage count reaches 33% or so). I'm not sure if it has a bearing, but get_headers is being called quite a lot of times, presumably once for each range of unread articles. I was testing on this group, which has about 40 ranges of read articles in my .newsrc. It's not a critical bug, but I imagine it's annoying on a slow connection. Anyway, I hope this helps track it down. Olly -- cool wet grass cool wet grass cool wet grass cool wet grass cool wet grass
Technical Details
Message-ID:
<19960501110826.olly@mantis.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn4nfogg.2npg.gostl@argos.argoscomp.com> <slrn4o3f4n.dmj.davis@wiwaxia.mit.edu> <slrn4o9sl9.4tk.jcaruso@raptor.sr.csg.com> <slrn4ob6f6.dpg.davis@aluche.mit.edu>Show Full Headers
Complete Article Headers
Message-ID: <19960501110826.olly@mantis.co.uk> Subject: Re: slrn bugs Date: Wed, 01 May 1996 00:00:00 +0000 From: olly@mantis.co.uk (Olly Betts) References: <slrn4nfogg.2npg.gostl@argos.argoscomp.com> <slrn4o3f4n.dmj.davis@wiwaxia.mit.edu> <slrn4o9sl9.4tk.jcaruso@raptor.sr.csg.com> <slrn4ob6f6.dpg.davis@aluche.mit.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 152378832 Content-type: text/plain; charset=iso-8859-1 Organization: techn-ol-ogy Mime-version: 1.0 Newsgroups: news.software.readers