Path: utzoo!utstat!news-server.csri.toronto.edu!mailrus!uwm.edu!rpi!zaphod.mps.ohio-state.edu!ub!rutgers!netnews.upenn.edu!msuinfo!news From: jwelch@convex.cl.msu.edu (john welch) Newsgroups: news.software.nntp Subject: bug in NEWGROUPS command Message-ID: <1990Aug2.153654.7134@msuinfo.cl.msu.edu> Date: 2 Aug 90 15:36:54 GMT Sender: news@msuinfo.cl.msu.edu Distribution: usa Organization: Michigan State University, East Lansing Lines: 31 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