🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jean-Francois Lamy Mon, 28 Aug 1989 16:19
Re: NNTP 1.5.6 supports C-NEWS
#263
Author: Jean-Francois Lamy
Date: Mon, 28 Aug 1989 16:19
19 lines
1598 bytes
sob@watson.bcm.tmc.edu (Stan Barber) writes:

>The latest set of official patches for NNTP have gone out and the
>University of Toronto modifications have been added to support C-NEWS.

A couple of things have broken in the process (BATCHFILE in server/batch.c
needs to be changed to BATCH_FILE).  Also, on line 373 in that same file,
the code makes reference to a variable "s" that should be btch.name (in fact,
Geoff's code had a meaningful error message at that place, which is now gone).
I'm not providing context diffs as I expect an official one to come soon...

Also, while common/clientlib.c compiles under SunOS 4.0.3, it no longer does
under vanilla SunOS 3.5 because of references to h_addr_list (line 203).  I
took the easy way out and linked with the 4.3BSD network include files and
resolver libraries, so I don't have a fix to offer for that one.

Jean-Francois Lamy               lamy@ai.utoronto.ca, uunet!ai.utoronto.ca!lamy
AI Group, Department of Computer Science, University of Toronto, Canada M5S 1A4
Re: NNTP 1.5.6 supports C-NEWS
#285
Author: Jim Budler
Date: Tue, 19 Sep 1989 21:23
47 lines
2481 bytes
lamy@ai.utoronto.ca (Jean-Francois Lamy) writes:

>sob@watson.bcm.tmc.edu (Stan Barber) writes:

>>The latest set of official patches for NNTP have gone out and the
>>University of Toronto modifications have been added to support C-NEWS.

>A couple of things have broken in the process 

	[deleted first problem with batch.c]

>Also, while common/clientlib.c compiles under SunOS 4.0.3, it no longer does
>under vanilla SunOS 3.5 because of references to h_addr_list (line 203).  I
>took the easy way out and linked with the 4.3BSD network include files and
>resolver libraries, so I don't have a fix to offer for that one.

>Jean-Francois Lamy           lamy@ai.utoronto.ca, uunet!ai.utoronto.ca!lamy

Index: common/clientlib.c
*** /tmp/,RCSt1a03184	Tue Sep 19 13:34:09 1989
--- /tmp/,RCSt2a03184	Tue Sep 19 13:34:10 1989
***************
*** 194,206 ****
--- 194,210 ----
                 unsigned long inet_addr();
                 static struct hostent def;
                 static struct in_addr defaddr;
+ #ifdef ADDR_LIST
                 static char *alist[1];
+ #endif
                 static char namebuf[ 256 ];
                 defaddr.s_addr = inet_addr( machine );
                 if( defaddr.s_addr != -1 ) {
                         strcpy( namebuf, machine );
                         def.h_name = namebuf;
+ #ifdef ADDR_LIST
                         def.h_addr_list = alist;
+ #endif
                         def.h_addr = (char *)&defaddr;
                         def.h_length = sizeof( struct in_addr );
                         def.h_addrtype = AF_INET;
-- 
Jim Budler   address = uucp: ...!{decwrl,uunet}!eda!jim
                     domain: jim@eda.com
                 compuserve: 72415,1200
voice     = +1 408 986-9585    fax     = +1 408 748-1032
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