Thread View: news.software.readers
4 messages
4 total messages
Started by Randall Hopper
Mon, 29 Jun 1998 00:00
slrn 0.9.5.2 bug canceling newsgroup fetch
Author: Randall Hopper
Date: Mon, 29 Jun 1998 00:00
Date: Mon, 29 Jun 1998 00:00
14 lines
1172 bytes
1172 bytes
Great newsreader. Just hit one problem the other day though. If one cancels SLRN's fetching of the unread news in a group (^G), it gets confused as to what's unread. For example, the number of unread articles goes from 450 unread articles down to 40 (or wherever fetching was canceled). Quiting SLRN and starting it back up results in seeing the 40 unread count rather than the 450, so apparently it's saved these erroneous changes to the newsrc. -- _____________________________________________________________________________ Randall Hopper (AA8VB) | rhh@-NOJUNK-ct.picker.com | Powered by FreeBSD
Re: slrn 0.9.5.2 bug canceling newsgroup fetch
Author: root
Date: Mon, 29 Jun 1998 00:00
Date: Mon, 29 Jun 1998 00:00
21 lines
1612 bytes
1612 bytes
On Mon, 29 Jun 1998 02:59:47 GMT, Randall Hopper <rhh@-NOJUNK-ct.picker.com> wrote: >Great newsreader. Just hit one problem the other day though. If one >cancels SLRN's fetching of the unread news in a group (^G), it gets >confused as to what's unread. For example, the number of unread articles >goes from 450 unread articles down to 40 (or wherever fetching was >canceled). Quiting SLRN and starting it back up results in seeing the 40 >unread count rather than the 450, so apparently it's saved these erroneous >changes to the newsrc. > slrn often over-reports the number of unread articles in a group. It's not clear whether it's the fault of the news server or some bug in slrn itself. I regularly see examples in the 32-bit version where a group with, say, 1500 articles ends up reporting 20. Of course, the 16-bit version suffers from the `sizeof(int) == 2' problem and the fact that atoi() works differently in a 16-bit environment than in a 32-bit environment.
Re: slrn 0.9.5.2 bug canceling newsgroup fetch
Author: Randall Hopper
Date: Thu, 02 Jul 1998 00:00
Date: Thu, 02 Jul 1998 00:00
36 lines
2285 bytes
2285 bytes
root@gte.net <root@gte.net> wrote:
|On Mon, 29 Jun 1998 02:59:47 GMT,
| Randall Hopper <rhh@-NOJUNK-ct.picker.com> wrote:
|>Great newsreader. Just hit one problem the other day though. If one
|>cancels SLRN's fetching of the unread news in a group (^G), it gets
|>confused as to what's unread. For example, the number of unread articles
|>goes from 450 unread articles down to 40 (or wherever fetching was
|>canceled). Quiting SLRN and starting it back up results in seeing the 40
|>unread count rather than the 450, so apparently it's saved these erroneous
|>changes to the newsrc.
|>
|slrn often over-reports the number of unread articles in a group. It's
|not clear whether it's the fault of the news server or some bug in slrn
|itself. I regularly see examples in the 32-bit version where a group
|with, say, 1500 articles ends up reporting 20.
I've seen what you're talking about, but that is a different issue.
It's easy to demonstrate that this is a separate issue by:
- saving off the .newsrc first,
- starting slrn,
- starting the fetch of a big group and aborting it with ^G
- noticing the small number of articles,
- exiting slrn, restoring the newsrc, reentering slrn,
- doing a full fetch on that same group,
- and noticing the large number of articles available now.
There genuinely are many more articles than the small number seen when
aborting a group fetch indicates.
--
_____________________________________________________________________________
Randall Hopper (AA8VB) | rhh@-NOJUNK-ct.picker.com | Powered by FreeBSD
Re: slrn 0.9.5.2 bug canceling newsgroup fetch
Author: John E. Davis
Date: Thu, 02 Jul 1998 00:00
Date: Thu, 02 Jul 1998 00:00
26 lines
1479 bytes
1479 bytes
On Thu, 02 Jul 1998 02:59:39 GMT, Randall Hopper <rhh@-NOJUNK-ct.picker.com>
wrote:
>There genuinely are many more articles than the small number seen when
>aborting a group fetch indicates.
Try this patch:
--- art.c~ Tue Jun 9 00:59:51 1998
+++ art.c Thu Jul 2 09:52:01 1998
@@ -5069,7 +5069,7 @@
Kill_List_Type *next = k->next;
unsigned int i, imax = k->num_used;
int *nums = k->nums;
- for (i = 0; i < imax; i++)
+ if (User_Aborted_Group_Read == 0) for (i = 0; i < imax; i++)
{
slrn_mark_article_as_read (NULL, nums[i]);
}
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis Cambridge, MA 02139-4307
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads