news patches

trevor trevor at trevan.UUCP
Mon Jul 25 04:51:41 AEST 1988


In article <175 at visenix.UUCP>, beattie at visenix.UUCP (Brian Beattie) writes:
> could some kind soul mail me the patches to get
> the news to work under microport System V/AT 2.2?
> 
> I have most of it working but vnews keeps dumping core.

I have found 2 bugs in my news 2.11 running on microport 286:

1	Pathinit.c has some uninitialised pointers, in particular PATHSYSNAME
	which results in a memory error when expire calls hread in header.c.
	It falls over at the label strip:.

2	Readnews and Vnews will dump core if there are a large number of
	newsgroups on the newsgroups line

The first I cured by initializing the char pointers in pathinit to null
strings. I have not been able to track down the cause of the other problem
but what I do is to use vnews with each newsgroup in turn until the offending
one is found. Then I look through the articals with vi and edit the newsgroup
lines which are very long. I suspect there is a buffer which is not long
enough for these monstrosities.



More information about the Comp.unix.microport mailing list