Article View: news.software.nntp
Article #285Re: NNTP 1.5.6 supports C-NEWS
From: Jim Budler
Date: Tue, 19 Sep 1989 21:23
Date: Tue, 19 Sep 1989 21:23
47 lines
2481 bytes
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
Technical Details
Message-ID:
<528@eda.com>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!mailrus!uwm.edu!uakari.primate.wisc.edu!ames!decwrl!eda!jimReferences:
<235@lib.tmc.edu> <89Aug28.121815edt.2245@neat.cs.toronto.edu>Show Full Headers
Complete Article Headers
Message-ID: <528@eda.com> Subject: Re: NNTP 1.5.6 supports C-NEWS Date: Tue, 19 Sep 1989 21:23:51 +0000 From: jim@eda.com (Jim Budler) References: <235@lib.tmc.edu> <89Aug28.121815edt.2245@neat.cs.toronto.edu> 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!mailrus!uwm.edu!uakari.primate.wisc.edu!ames!decwrl!eda!jim Newsgroups: news.software.b,news.software.nntp Followup-To: news.software.b Organization: EDA Systems, Inc. Santa Clara, CA Lines: 46