Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!ltuxa!we53!wucs!wuphys!plus5!hokey From: hokey@plus5.UUCP Newsgroups: net.sources.bugs,net.news Subject: Xref patch for 2.10.3 Message-ID: <984@plus5.UUCP> Date: Thu, 13-Mar-86 15:34:27 EST Article-I.D.: plus5.984 Posted: Thu Mar 13 15:34:27 1986 Date-Received: Sat, 15-Mar-86 02:16:46 EST Organization: Plus Five Computer Services, St. Louis Lines: 62 Xref: watmath net.sources.bugs:729 net.news:4667 What follows is an un-blessed patch to rn4.3. All I can say is it seems to work here. *** bits.c- Sun Mar 9 12:57:30 1986 --- bits.c Sun Mar 9 15:49:36 1986 *************** *** 386,391 * to change the system name as known to inews, rn will still do * Xrefs correctly--each article need only match itself to be valid. */ if (inews_site == Nullch || strNE(tmpbuf,inews_site)) { char *t; --- 386,392 ----- * to change the system name as known to inews, rn will still do * Xrefs correctly--each article need only match itself to be valid. */ + /* 2.10.3 doesn't have a Relay-Version: line. Use Path: instead */ if (inews_site == Nullch || strNE(tmpbuf,inews_site)) { char *t; *************** *** 391,398 if (inews_site != Nullch) free(inews_site); ! rver_buf = fetchlines(artnum,RVER_LINE); ! if ((t = instr(rver_buf,"; site ")) == Nullch) inews_site = savestr(nullstr); else { char new_site[128]; --- 392,399 ----- if (inews_site != Nullch) free(inews_site); ! rver_buf = fetchlines(artnum,PATH_LINE); ! if (index(rver_buf,'!') == Nullch) inews_site = savestr(nullstr); else { char new_site[128]; *************** *** 397,403 else { char new_site[128]; ! cpytill(new_site,t + 7,'.'); inews_site = savestr(new_site); } if (strNE(tmpbuf,inews_site)) { --- 398,404 ----- else { char new_site[128]; ! cpytill(new_site,rver_buf,'!'); inews_site = savestr(new_site); } if (strNE(tmpbuf,inews_site)) { -- Hokey ..ihnp4!plus5!hokey 314-725-9492