Article View: news.software.readers
Article #70480Re: [slrn] mark-all-read bug?
From: Thomas Schultz
Date: Sun, 14 Jan 2001 15:19
Date: Sun, 14 Jan 2001 15:19
29 lines
2102 bytes
2102 bytes
On 21 December 2000 at 14:21 GMT, Leslie <leslie@vex.net> wrote:
> I wonder if this is a bug? I got it to happen three times, anyway:
> If you enter a newsgroup by chosing '1' as the number of posts to
> view, and that article happens to be one that your scorefile nukes,
> it will mark all the rest of the newsgroup as read and report that
> there are no new posts. (0.9.6.3, Win32)
You're right, this is a bug. The following patch takes care of it:
#v+
diff -ur slrn-0.9.6.3.orig/src/art.c slrn-0.9.6.3/src/art.c
--- slrn-0.9.6.3.orig/src/art.c Mon Sep 18 00:35:28 2000
+++ slrn-0.9.6.3/src/art.c Sun Jan 14 16:15:06 2001
@@ -7119,7 +7119,7 @@
free_kill_lists_and_update ();
Slrn_Current_Group_Name = NULL;
- if (SLang_Error == USER_BREAK) return -1;
+ if ((SLang_Error == USER_BREAK) || (all != 0)) return -1;
else return -2;
}
#v-
--
Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/
-> [2000-12-21] slrn 0.9.6.3pl3 released
-> [2000-10-22] Matthias Friedrich joins the team
-> [2000-09-27] Initial release of the slrn reference manual
Technical Details
Message-ID:
<slrn963gsd.3kp.tststs@starflower.tststs.ddns.org>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!supernews.google.com!sn-xit-02!supernews.com!isdnet!newscore.gigabell.net!blackbush.xlink.net!newsfeed.freenet.de!f.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mailReferences:
<slrn9444dm.3vvjapb.leslie@cy693370-a.muncie1.in.home.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn963gsd.3kp.tststs@starflower.tststs.ddns.org> Subject: Re: [slrn] mark-all-read bug? Date: Sun, 14 Jan 2001 15:19:41 +0000 From: tststs@gmx.de (Thomas Schultz) References: <slrn9444dm.3vvjapb.leslie@cy693370-a.muncie1.in.home.com> 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!supernews.google.com!sn-xit-02!supernews.com!isdnet!newscore.gigabell.net!blackbush.xlink.net!newsfeed.freenet.de!f.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail Newsgroups: news.software.readers Organization: Pinguin online. Lines: 28 NNTP-Posting-Host: 149.225.121.244 NNTP-Posting-Date: 14 Jan 2001 15:28:13 GMT X-Complaints-To: abuse@cityweb.de X-Server-Date: 14 Jan 2001 15:25:35 GMT User-Agent: slrn/0.9.6.3pl4 (Linux)