🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #83855

Re: [slrn >= 0.9.7.1] Fatal error when cancelling List Groups search

#83855
From: Thomas Schultz
Date: Sun, 02 Sep 2001 11:12
31 lines
2131 bytes
* Lee Webb [2001-09-01 21:11] :

> However, I hit a problem when trying to cancel a List Groups
> operation. I specified a regexp of *binaries* & hit return. I decided
> to cancel that operation since I realised I could've done a more
> precise search. Hit Control-G before slrn had a chance to update the
> screen. Unlike my previously installed 0.9.7.0 version though slrn
> 0.9.7.2 exited with: [...]

The following patch will be in the next release; it should fix this:

#v+
diff -ur slrn-0.9.7.2.orig/src/nntp.c slrn-0.9.7.2/src/nntp.c
--- slrn-0.9.7.2.orig/src/nntp.c	Mon Aug 13 19:03:14 2001
+++ slrn-0.9.7.2/src/nntp.c	Sun Sep  2 13:09:18 2001
@@ -225,7 +225,7 @@
    code = nntp_list_active_cmd (NNTP_Server, pat);
    
    if (OK_GROUPS == code)
-     _NNTP_Abort_On_Disconnection = 1;
+     _NNTP_Abort_On_Disconnection = (pat == NULL) ? 1 : -1;
 
    return code;
 }
#v-
-- 
Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/
 -> [2001-08-20] slrn 0.9.7.2 released
 -> [2001-08-11] slrn-announce mailing list created / wishlist reviewed
 -> [2001-06-06] slrn 0.9.7.1 released
Technical Details
Message-ID: <slrn9p451c.1s8.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newscore.gigabell.net!newsfeed.hanau.net!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
References: <slrn9p2jp5.e7h.lee.webb@colossus.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9p451c.1s8.tststs@starflower.tststs.ddns.org>
Subject: Re: [slrn >= 0.9.7.1] Fatal error when cancelling List Groups search
Date: Sun, 02 Sep 2001 11:12:44 +0000
From: Thomas Schultz <tststs@gmx.de>
References: <slrn9p2jp5.e7h.lee.webb@colossus.co.uk>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newscore.gigabell.net!newsfeed.hanau.net!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
Newsgroups: news.software.readers
Organization: Pinguin online.
Lines: 30
NNTP-Posting-Host: 149.225.167.125
NNTP-Posting-Date: 2 Sep 2001 11:12:23 GMT
X-Complaints-To: abuse@cityweb.de
X-Server-Date: 2 Sep 2001 11:09:50 GMT
User-Agent: slrn/0.9.7.2 (Linux)