Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!uakari.primate.wisc.edu!ctrsol!sdsu!polyslo!vlsi3b15!vax1.cc.lehigh.edu!lusgr From: lusgr@vax1.cc.lehigh.edu (STEVE ROSEMAN) Newsgroups: news.software.anu-news Subject: Re: Problems with nntp_tcpcmu (a fix) Message-ID: <9107@vax1.cc.lehigh.edu> Date: 5 Sep 89 11:59:07 GMT References: Organization: Lehigh University Lines: 59 In article , LUSGR@VAX1.CC.LEHIGH.EDU (STEVE ROSEMAN) writes: > I am trying to install News 5.8 with the 5.8A patches on a VAXstation 3100 > running VMS 5.1-B, Vax C 3.0, and CPU/TEK TCP/IP V6.4. With the various > fixes (changes of 1 << PRV$V to PRV$M, copy v5maildef.h, etc.), I got > everything compiled, and NEWS seems to work. > > However, when I try to connect to the server (via TELNET/port=119, > NNTP_FEED, or using the NNTP_CLIENT), the connection opens, the disk > drive defined as NEWS_ROOT is accessed a few times, and the connection > closes. > ... Well, the following changes seem to fix the problems. The first was a misplaced io status check, the second problems with the getremhost code. ************ File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C;6 234 cks(sys$qiow(0,f,IO$_CREATE,iosb,0,0,0,0,119,0,0,0)); 235 cks(*i_o_sts); 236 return(1); ****** File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C-SAV;1 234 cks(*i_o_sts); 235 cks(sys$qiow(0,f,IO$_CREATE,iosb,0,0,0,0,119,0,0,0)); 236 return(1); ************ ************ File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C;6 267 short fill_0; 268 unsigned short fport; ****** File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C-SAV;1 267 unsigned short fport; ************ ************ File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C;6 282 cks(sys$qiow(0,f,IO$_MODIFY,iosb,0,0,&info_buffer,sizeof(info_buffer),0,0,0,0)); 283 cks(*i_o_sts); ****** File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C-SAV;1 281 cks(sys$qiow(0,f,IO$_MODIFY,iosb,0,0,&info_buffer,26,0,0,0,0)); 282 cks(*i_o_sts); ************ Number of difference sections found: 3 Number of difference records found: 4 DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=LU$LIB:[ANU_V5P8.NEWS.NEWS_BUILD]A.A;1- LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C;6- LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C-SAV;1 Steve -- ------------------------------------------------------------------------- Steve Roseman Lehigh University Computing Center LUSGR@VAX1.CC.Lehigh.EDU