[net.sources] vnews bug fix

ka@spanky.UUCP (06/14/83)

# 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
!