🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #206

Bug in GROUP command ?

#206
From: Didier Poirot
Date: Mon, 19 Jun 1989 09:04
27 lines
1420 bytes

	I think there is a bug in the GROUP command:

Description
-----------

 In the same session I query the server with the GROUP command two times 
(with the same newsgroup).
If there is a new article posted in the concerned group  between the 2 
calls, the second call gives me the same results as the first !! 
I have to close the server, and to start it again to get the right answer.

I dont think it's the normal way for an interactive  application to work.

Solution
--------

 I have made a little mod. in group.c to call read_groups() if the stat()
of the active file has changed since the last invokation of the command.
It slow down  a little when I enter the GROUP command, but now I have the right result. It is more faster than closing then starting the server.

	Can my mod be retained in the next patch ?

					didier

Internet Adress: dp@chorus.fr
Technical Details
Message-ID: <2692@chorus.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!inria!chorus!adagio.chorus.fr!dp

Show Full Headers
Complete Article Headers
Message-ID: <2692@chorus.fr>
Subject: Bug in GROUP command ?
Date: Mon, 19 Jun 1989 09:04:44 +0000
From: dp@adagio.chorus.fr (Didier Poirot)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!inria!chorus!adagio.chorus.fr!dp
Newsgroups: news.software.nntp
Sender: news@chorus.fr
Reply-To: dp@chorus.fr
Lines: 26