[net.news] weirdness in rotated net.jokes

phil@amdcad.UUCP (Phil Ngai) (04/30/85)

has anyone else noticed doubled subject lines in jokes which are rotated?
-- 
 I speak for myself and no one else.

 Phil Ngai (408) 749-5720
 UUCP: {ucbvax,decwrl,ihnp4,allegra}!amdcad!phil
 ARPA: amdcad!phil@decwrl.ARPA

dcm@busch.UUCP (Craig Miller) (05/02/85)

> has anyone else noticed doubled subject lines in jokes which are rotated?

Yeah.  I believe this is a bug in 2.10.2.

If I remember right, the bug is in the function modify_article() in
postnews.c.  Modify_article() uses a global character array `buf',
to read through a file, and `buf' is also used as an argument to it
when postnews tries to stick the "ROT13" in the subject.  So `buf'
gets trashed.  A solution could be to declare a local character array
`buf' inside of modify_article().

		Craig
-- 
Craig Miller
..!ihnp4!we53!busch!dcm
The Anheuser-Busch Companies; St. Louis, Mo.