From: utzoo!decvax!watmath!watarts!eric
Newsgroups: net.news.b
Title: bug fix
Article-I.D.: watarts.1273
Posted: Sun May 30 18:17:07 1982
Received: Mon May 31 00:38:23 1982

Two of the article header fields are stored internally (struct hbuf)
with more that BUFLEN(128) characters, the source path and newsgroup list.
However, the header is read with `fgets(bfr, BUFLEN, fp)',
so rnews rejects headers with long lines and the extra length
in hbuf is never used.
My fix is to change BUFLEN to LBUFLEN in the declarations of bfr
(params.h, rextern.c, iextern.c),
and also in the `fgets(bfr, ...)' statements (the two in header.c at least).
There are few more changes to be made to read A format headers.
I also changed LBUFLEN and PATHLEN to 256 to reduce the size for an 11/34.
			Eric Gisin, U of Waterloo