🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Ben Knox Sat, 28 Jun 1997 00:00
actived patch on INN 1.5.1
#18830
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads