🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18830

actived patch on INN 1.5.1

#18830
From: Ben Knox
Date: Sat, 28 Jun 1997 00:00
59 lines
2415 bytes
Hi,

Has anyone tried the actived patches under INN 1.5.1?

The actived daemon itself runs without any problems (this is under BSDI
2.1), but group.c won't compile, even though it patches OK (except for some
minor adjustments to the #include section of the file).

The error I get is:

gcc -I../include  -g -c group.c
group.c: In function `NGRPfind':
group.c:156: structure has no member named `Name'
group.c:158: structure has no member named `Name'
group.c:160: structure has no member named `High'
group.c:161: structure has no member named `Low'
group.c:162: structure has no member named `Flag'
group.c:164: structure has no member named `Alias'
group.c:166: structure has no member named `Alias'
*** Error code 1
Stop.

The section of code that this occurs in group.c is as follows:

   154              /* Looks good! Copy all the data to the static "data"
struct  */
   155              if (! buffer.NameNull) {
   156                  data.Name = buffer.Name;
   157              } else {
   158                  data.Name = NULL;
   159              }
   160              data.High = buffer.High;
   161              data.Low = buffer.Low;
   162              data.Flag = buffer.Flag;
   163              if (! buffer.AliasNull) {
   164                  data.Alias = buffer.Alias;
   165              } else {
   166                  data.Alias = NULL;
   167              }
   168              return(&data);

So it looks like the problem is with the definition of the structure
"data". Earlier in the file (line 99), it is defined as follows (this was
inserted by the patch): 
	static GROUPENTRY   data;

Comparing the definitions of GROUPENTRY with INN 1.5.1 and INN Unoff4,
there doesn't seem to be any difference.

Anyone have any ideas as to what the problem could be here?

Regards, Ben

-- 
Ben Knox				Direct Connection
ben@dircon.net

Technical Details
Message-ID: <01bc83af$298c3060$8a2170c2@ben-at-home.dircon.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.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <01bc83af$298c3060$8a2170c2@ben-at-home.dircon.co.uk>
Subject: actived patch on INN 1.5.1
Date: Sat, 28 Jun 1997 00:00:00 +0000
From: "Ben Knox" <ben@dircon.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
X-Deja-AN: 253169113
Organization: Direct Connection
Newsgroups: news.software.nntp