Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!nbires!hao!hplabs!hp-sdd!ncr-sd!ncrcae!ncrpcd!tb
From: tb@ncrpcd.UUCP (Tom Bertelson)
Newsgroups: news.software.b
Subject: Problem with 2.11 news patch #3
Message-ID: <513@ncrpcd.UUCP>
Date: Tue, 30-Dec-86 17:06:45 EST
Article-I.D.: ncrpcd.513
Posted: Tue Dec 30 17:06:45 1986
Date-Received: Wed, 31-Dec-86 04:02:23 EST
Reply-To: tb@ncrpcd.UUCP (Tom Bertelson)
Distribution: world
Organization: NCR PC Division - Dayton, OH
Lines: 30

OUCH!  I don't think we want to unlink the active file here...

*** inews.c.orig	Tue Dec 30 12:52:41 1986
--- inews.c	Tue Dec 30 12:49:41 1986
***************
*** 156,162
  #ifdef	LOCKF
  	lockf(fileno(actfp), F_ULOCK, 0);
  #else	/* !LOCKF */
! 	UNLINK(ACTIVE, bfr);
  #endif /* V7 */
  #endif	/* !BSD4_2 */
  	if (argc > 1 && !strcmp(*(argv+1), "-U")) {

--- 156,162 -----
  #ifdef	LOCKF
  	lockf(fileno(actfp), F_ULOCK, 0);
  #else	/* !LOCKF */
! 	UNLINK(bfr);
  #endif /* V7 */
  #endif	/* !BSD4_2 */
  	if (argc > 1 && !strcmp(*(argv+1), "-U")) {

-----
Tom Bertelson		"Wish I didn't know now what I didn't know then"
ncrcae!ncrpcd!tb				B. Seger
-- 
-----
Tom Bertelson		"Wish I didn't know now what I didn't know then"
ncrcae!ncrpcd!tb				B. Seger