[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] rnews: bug or misunderstanding?


# rnews /tmp/newsarticle.txt


# rnews < /tmp/newsarticle.txt


# cat /tmp/newsarticle.txt | rnews
storearticle cannot open (null) for writing: Bad address


Further debugging shows me, that in artutil.c:fgetheader(), the rewind
function has no effect for the latter invokation of rnews.  fgetheader
is called twice in rnews.c:fprocessfile().  Thus searching Message-ID
header starts at the article body and fails.  The man page tells me,
that rnews is supposed to read from stdin.

Cheers, Ray
Raymond Scholz - rscholz@xxxxxxxx - PGP - http://www.zonix.de/

leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list