🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #83870

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

#83870
From: Invalid
Date: Sun, 02 Sep 2001 22:16
32 lines
2070 bytes
On 2 Sep 2001 11:12:44 GMT, Thomas Schultz wrote:
> * 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-

That works great. Thanks Thomas

Lee.
[Off to read the source in an attempt to know & understand it better.]
Technical Details
Message-ID: <slrn9p5bv5.1us.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!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!btnet-peer0!btnet-feed5!btnet!mendelevium.btinternet.com!not-for-mail
References: <slrn9p2jp5.e7h.lee.webb@colossus.co.uk> <slrn9p451c.1s8.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9p5bv5.1us.lee.webb@colossus.co.uk>
Subject: Re: [slrn >= 0.9.7.1] Fatal error when cancelling List Groups search
Date: Sun, 02 Sep 2001 22:16:57 +0000
From: Invalid <lee.webb@colossus.co.uk>
References: <slrn9p2jp5.e7h.lee.webb@colossus.co.uk> <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!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!btnet-peer0!btnet-feed5!btnet!mendelevium.btinternet.com!not-for-mail
Newsgroups: news.software.readers
Organization: BT Internet
Lines: 31
Reply-To: news@leewebb.net
NNTP-Posting-Host: host213-122-135-227.btinternet.com
User-Agent: slrn/0.9.7.2 (Linux)