Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!genrad!decvax!harpo!floyd!vax135!ariel!houti!hogpc!houxm!hocda!spanky!ka
From: ka@spanky.UUCP
Newsgroups: net.sources
Subject: vnews bug fix
Message-ID: <371@spanky.UUCP>
Date: Mon, 13-Jun-83 20:04:10 EDT
Article-I.D.: spanky.371
Posted: Mon Jun 13 20:04:10 1983
Date-Received: Wed, 15-Jun-83 03:31:16 EDT
Lines: 18

# Another bug in vnews.  This one caused problems with the parent and
# '<' commands on some machines by calling putc with an uninitialized
# FILE pointer.  Thanks to Guy Riddle (pyuxmm!ggr) for finding this.
#
# This file contains an ed script to fix the problem.  As before, the
# original visual.c is left in Ovisual.c in case things don't work.
#				Kenneth Almquist

mv visual.c Ovisual.c
(sed 's/	//' | ed Ovisual.c) <<\!
	/^searchid:/+28;+6c
			if (fp != NULL) {	/* always true */
				fclose(fp);
				fp = NULL;
			}
	.
	w visual.c
!