Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!sundc!nears!occrsh!occrsh.UUCP!authorplaceholder From: rct@occrsh.UUCP Newsgroups: news.software.notes Subject: newsinput.c bug & fix Message-ID: <147700001@occrsh.UUCP> Date: Tue, 3-Feb-87 10:58:00 EST Article-I.D.: occrsh.147700001 Posted: Tue Feb 3 10:58:00 1987 Date-Received: Sat, 7-Feb-87 04:37:53 EST Lines: 28 Nf-ID: #N:occrsh.UUCP:147700001:000:1280 Nf-From: occrsh.UUCP!rct Feb 3 09:58:00 1987 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, ¬e2.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., 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