[net.news.b] Possible

earle@lorien.smeagol.UUCP (Greg Earle) (10/03/85)

I have only recently installed 2.10.2 on our (Sun 2/170) system,
so if this bug has already been found, please refrain from 
excessive flaming.

When using expire, I was getting constant crashes.  I found :

expire calls pathinit(), which contains the following code:

#if INEW || READ
	struct utsname ubuf;

	uname(&ubuf);
	FULLSYSNAME = AllocCpy(ubuf.nodename);
#endif INEW || READ

The Makefile entry for expire ref's epathinit.o, which compiles
pathinit with -DEXP, not INEW or READ.  So, later in expire.c
it calls hread (in header.c).  In hread we find :

	strcpy(buf, FULLSYSNAME);

and since the #if above is not #if INEW || READ || EXP, uname
never gets executed, FULLSYSNAME is nil, and strcpy yields
barf city.  I believe redefining the #if would solve this problem.

In addition, you must also add the lines (similar to entries for rnews
and inews) of the form :

#ifdef EXP
#include "params.h"
#endif EXP


A general question :
	Without having looked at the source (yet), can anyone tell me
(in ten words or less) why, when replying to a news article,
does the software pluck the Reply-To field out when formatting the
To: address for mail instead of the Path: field?  Is this a controlable
build-time option?  Does it expect pathalias or something to exist?  
A few people here have asked me why, when they try to reply to an article, 
they get Returned Mail back with "unknown host", so I looked 
at the mail message and found the above.

Thanks.

			Greg Earle
UUCP: ...!{{decvax,ucbvax}!sdcsvax,hplabs,allegra,trwrb}!sdcrdcf!smeagol!lorien!earle

------------------------------------------------------
"Where am I?"				"In The Village."
"Whose side are you on?"		"That would be telling."
"Who are you?"				"The New Number 2."
"Who is Number 1!"			"You are Number 6."
"I am not a number, I am a FREE MAN!!"	"AHA HA HA HA HA HEE HEE HO HO HA HA"