Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site seismo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!wjh12!harvard!seismo!rick From: rick@seismo.UUCP (Rick Adams) Newsgroups: net.news Subject: Re: Black holes Message-ID: <4069@seismo.UUCP> Date: Wed, 19-Sep-84 20:02:46 EDT Article-I.D.: seismo.4069 Posted: Wed Sep 19 20:02:46 1984 Date-Received: Wed, 26-Sep-84 00:43:06 EDT References: <3818@seismo.UUCP> <1690@sun.uucp> Distribution: net Organization: Center for Seismic Studies, Arlington, VA Lines: 37 > The problem is a bug in 2.10.1 news where it makes a check for > site name with prefix instead of strcmp (or something similar). > The bug is triggered at the receiving site (in our case, decwrl) > so there is nothing we can do to fix it. I have reported the bug > and suggested (although still untested, I believe) fix to many > people who have complained. Can someone confirm or deny whether > the bug has been fixed in 2.10.2? (Will this become the equivalent > of the line-eater bug for 2.10.2?) This is the first I've heard of anything that specific. Following is a fix for it. It is present in ALL 2.10 and later B news versions (including 2.10.2). ---rick *** header.c.bad Wed Sep 19 19:53:47 1984 --- header.c Wed Sep 19 18:39:59 1984 *************** *** 489,495 * The old one thinks they both mean "Path" but only believes the * first one it sees, so will ignore the second. */ ! if (prefix(hp->path, FULLSYSNAME)) fprintf(fp, "Path: %s\n", hp->path); else fprintf(fp, "Path: %s!%s\n", FULLSYSNAME, hp->path); --- 489,496 ----- * The old one thinks they both mean "Path" but only believes the * first one it sees, so will ignore the second. */ ! if (prefix(hp->path, FULLSYSNAME) && ! index(NETCHRS, hp->path[strlen(FULLSYSNAME)])) fprintf(fp, "Path: %s\n", hp->path); else fprintf(fp, "Path: %s!%s\n", FULLSYSNAME, hp->path);