[news.software.notes] newsinput.c bug & fix

rct@occrsh.UUCP (02/03/87)

Yet another bug in the newsinput program has been found.  This one
was responsible for a great many "Orphaned Responses" not getting
adopted, and the fix is simple.

Since I applied this fix to a version of newsinput.c that is different
from the one supplied with the notes version 1.7 distribution, you should
consider yourself warned that the line numbers will probably be different.
To aid you in finding the line, it is found in the bnewsgen() function
within newsinput.c.  Note the missing '&' in the bad version.


601c601
< 	copyauth (&auth, note2.n_auth);			/* fill in author */
---
> 	copyauth (&auth, &note2.n_auth);		/* fill in author */

I will be happy to supply the full source to the version of newsinput.c
that I'm running upon request.  It contains numerous bug fixes and is
capable of parsing a few of the non-standard but legal news message IDs
that are probably generated by mailer programs (grrrrrrr).  There are
several good philosophical arguments as far as enforcing a standard
message ID format, i.e., <XXXXX@site.domain.domain.etc.> where all of
the X's are digits.  The newsinput program has great problems digesting
message IDs where all the X's are not digits.

--Bob Tracy	AT&T Network & Data Systems	Oklahoma City Works
{most AT&T sites}!occrsh!rct