🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #623

bug in NEWGROUPS command

#623
From: john welch
Date: Thu, 02 Aug 1990 15:36
32 lines
1771 bytes

Hello, I have never posted a patch to this group, so here goes. I have been 
testing nntp.1.5.9 prior to installing it. I  located and patched a bug in the 
NEWGROUPS command. 

   The bug is that when you use the NEWGROUPS command the server dies and
the connection is broken. It turns out that this happens because of a blank 
line in the /usr/lib/news/active.times file. Removing the blank line fixed the 
immediate problem. 
     
    The following is a patch for newgroups.c. 

------beginning of diff file for newgroups.c--------------
81a82
> 
85d85
< 		
90d89
<                 if(cp==NULL) continue; /* ignore badly formatted lines */
------end of diff file-------------------------------------

I hope that this helpful to any others who have this annoying problem.
Before I go, could someone tell me how to get this patch into the next 
release?

Bye
--
John Welch                 internet:jwelch@convex.cl.msu.edu
301 Computer Center        Michigan State University  
A government that is big enough to give you all you want is big enough
to take it all away.  -- Barry Goldwater
Technical Details
Message-ID: <1990Aug2.153654.7134@msuinfo.cl.msu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!mailrus!uwm.edu!rpi!zaphod.mps.ohio-state.edu!ub!rutgers!netnews.upenn.edu!msuinfo!news

Show Full Headers
Complete Article Headers
Message-ID: <1990Aug2.153654.7134@msuinfo.cl.msu.edu>
Subject: bug in NEWGROUPS command
Date: Thu, 02 Aug 1990 15:36:54 +0000
From: jwelch@convex.cl.msu.edu (john welch)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!mailrus!uwm.edu!rpi!zaphod.mps.ohio-state.edu!ub!rutgers!netnews.upenn.edu!msuinfo!news
Newsgroups: news.software.nntp
Sender: news@msuinfo.cl.msu.edu
Distribution: usa
Organization: Michigan State University, East Lansing
Lines: 31