🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #19503

Re: SLRN: Lost article list for unsubscribed groups

#19503
From: John E. Davis
Date: Fri, 23 Feb 1996 00:00
35 lines
1585 bytes
On 23 Feb 1996 13:43:40 GMT, Alain Knaff <knaff@ngulu.imag.fr>
wrote:
 :  slrn 0.8.6 seems to lose list of read articles for unsubscribed
 : groups. Here's how to reproduce the problem:

This only happens if you do not have active file processing turned on.  It
has had this ``feature'' for quite a while.  Look at the function
`add_group' in group.c.  There you will find around line 376:

   if (subscribe_flag & UNSUBSCRIBED)
     {
	g->unread = 0;
	g->flags |= HIDDEN;
	if (Slrn_List_Active_File == 0) return 0;
     }

Simply comment-out the line `if (Slrn_List_Active_File == 0) return 0;'  I
believe it should work fine.  Here is the complete diff:

--- group.c~	Mon Feb 19 16:52:17 1996
+++ group.c	Fri Feb 23 09:46:58 1996
@@ -377,7 +377,7 @@
      {
 	g->unread = 0;
 	g->flags |= HIDDEN;
-	if (Slrn_List_Active_File == 0) return 0;
+	/* if (Slrn_List_Active_File == 0) return 0; */
      }
    
    if (create_flag) return 0;

--John


Technical Details
Message-ID: <slrn4irlkn.e9.davis@wiwaxia.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
References: <4gkgac$rt6@imag.imag.fr>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4irlkn.e9.davis@wiwaxia.mit.edu>
Subject: Re: SLRN: Lost article list for unsubscribed groups
Date: Fri, 23 Feb 1996 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <4gkgac$rt6@imag.imag.fr>
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: 140699250
Organization: Center for Space Research
Reply-to: davis@space.mit.edu
Newsgroups: news.software.readers