Xref: utzoo news.software.b:3057 news.software.nntp:297 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!ames!decwrl!eda!jim From: jim@eda.com (Jim Budler) Newsgroups: news.software.b,news.software.nntp Subject: Re: NNTP 1.5.6 supports C-NEWS Message-ID: <528@eda.com> Date: 19 Sep 89 21:23:51 GMT References: <235@lib.tmc.edu> <89Aug28.121815edt.2245@neat.cs.toronto.edu> Followup-To: news.software.b Organization: EDA Systems, Inc. Santa Clara, CA Lines: 46 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