Article View: news.software.readers
Article #36441Re: This really *is* a bug ...
From: John E. Davis
Date: Sat, 04 Oct 1997 00:00
Date: Sat, 04 Oct 1997 00:00
38 lines
1690 bytes
1690 bytes
On 2 Oct 1997 00:08:17 GMT, Lloyd Zusman <ljz@asfast.com>
wrote:
>Could someone who understands the internals of slrn offer some
>suggestions as to what conditions might cause the newsreader to
>occasionally, suddenly, and erroneously mark a huge block of unread
>articles as having been read?
After looking at the code, I suggest that you try the following patch.
I do not guarantee that it will solve your problem but please let me
know whether or not it does. --John
--- art.c~ Sat Jul 12 16:32:22 1997
+++ art.c Sat Oct 4 13:26:06 1997
@@ -6680,7 +6680,9 @@
int smin, smax;
Slrn_Range_Type *r;
int status;
-
+ int save_all;
+
+ save_all = all;
User_Aborted_Group_Read = 0;
Headers = Slrn_First_Header = NULL;
Threads_Collapsed = 0;
@@ -6855,7 +6857,9 @@
free_kill_lists_and_update ();
Slrn_Current_Group_Name = NULL;
- if (SLang_Error == USER_BREAK) return -1;
+ if ((SLang_Error == USER_BREAK)
+ || (save_all < 0))
+ return -1;
else return -2;
}
Technical Details
Message-ID:
<slrn63cve5.uck.davis@mygir.davis.net>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:
<60luar$3es$1@smilodon.ecp.fr> <slrn635dvp.k8f.jbn@pop-a-wheelie.midwest.net> <slrn635pbd.b3d.ljz@ljz.asfast.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn63cve5.uck.davis@mygir.davis.net> Subject: Re: This really *is* a bug ... Date: Sat, 04 Oct 1997 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <60luar$3es$1@smilodon.ecp.fr> <slrn635dvp.k8f.jbn@pop-a-wheelie.midwest.net> <slrn635pbd.b3d.ljz@ljz.asfast.net> 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: 277865271 Organization: Center for Space Research Newsgroups: news.software.readers