🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4117

New Sharedactive Patch

#4117
From: Evan Champion
Date: Sat, 20 Jan 1996 00:00
31 lines
1282 bytes
The new sharedactive patch on ftp.math.psu.edu worked wonders on my
BSD/OS system (the old release didn't work at all so I'm very pleased
that the new one works so well).

To Doug: At line 202 of nnrpd/group.c.  You had:

strncpy(groupalias, "\0");

The obvious problem is that strncpy requires 3 arguments and therefore
it should be changed to:

strncpy(groupalias, "\0", 1);

A simpler solution, however, would be:

groupalias[0] = '\0';

which saves the call to strncpy altogether and does exactly the same
job.

Also, could you put your email address in your bit of documentation at
the top of nnrpd/group.c?  That way people who want to send you their
gratitude :-) can do it directly.

Great work on the new patch, Doug.

Evan



Technical Details
Message-ID: <4dpsqh$lu0@piano.synapse.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <4dpsqh$lu0@piano.synapse.net>
Subject: New Sharedactive Patch
Date: Sat, 20 Jan 1996 00:00:00 +0000
From: evanc@synapse.net (Evan Champion)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 135839132
Distribution: world
Organization: Synapse Internet [www.synapse.net]
Newsgroups: news.software.nntp