🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #40002

Re: SLRN problem...

#40002
From: John E. Davis
Date: Tue, 07 Apr 1998 00:00
34 lines
1484 bytes
On 1 Apr 1998 18:34:31 GMT, Daniel Price <dp@cs.brown.edu>
wrote:
>Any ideas?  Looks to me like slrn was in the process of doing a
>free_specific_kill_list_and_update when it got interrupted by a signal, and
>decided to do that again-- and there's some sort of race condition-- perhaps
>just masking the appropriate signals here would help?  Thanks,

Thanks for the bug report.  Apply this patch to the art_quit function
in slrn/src/art.c: 


--- art.c~	Sun Mar 29 17:11:09 1998
+++ art.c	Tue Apr  7 03:40:51 1998
@@ -5911,6 +5911,8 @@
 {
    Slrn_Header_Type *h = Headers, *next;
 
+   slrn_init_hangup_signals (0);
+
 #if SLRN_HAS_GROUPLENS
    if (Slrn_Use_Group_Lens) slrn_put_grouplens_scores ();
 #endif
@@ -5951,6 +5953,8 @@
    if ((Slrn_Current_Mode != NULL)
        && (Slrn_Current_Mode->mode == SLRN_ARTICLE_MODE))
      slrn_pop_mode ();
+   
+   slrn_init_hangup_signals (1);
 }
 
 /*}}}*/

Technical Details
Message-ID: <slrn6ijmcj.88j.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-mail
References: <6fu1bn$adl@cocoa.brown.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6ijmcj.88j.davis@mygir.davis.net>
Subject: Re: SLRN problem...
Date: Tue, 07 Apr 1998 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <6fu1bn$adl@cocoa.brown.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: 341653224
Organization: Center for Space Research
Newsgroups: news.software.readers