[net.news.b] Error in header.c

borman (06/19/82)

In release 2.7 of Bnews, the file header.c:
At line 41, you have
	fgets(hp->path, BUFLEN, fp);		/* source path */
this should be changed to 
	fgets(hp->path, PATHLEN, fp);		/* source path */
(hp->path is already dimensioned to PATHLEN)

This fixes the problem with long pathnames mentioned in utzoo.2175.
If you don't change this, fgets will only read in BUFLEN chars for
long pathlengths, leaving the rest of the path for the next fgets(),
and thus screwing up the rest of the header.

				-Dave Borman
				St. Olaf College
				ihnss!ihps3!stolaf!borman