rnews: cant open_remote Illegal seek
N
niels at bakker.net
Sat Aug 12 19:11:53 UTC 2000
Russ Allbery wrote:
>> open(RNEWS, "|rnews -h localhost -r remote -P 433") || die "rnews";
>> print RNEWS $Post;
>> close RNEWS;
>> I get the "rnews: cant open_remote Illegal seek" error in the log.
> Try this patch:
>
> --- rnews.c 2000/03/20 22:32:58 1.24
> +++ rnews.c 2000/08/10 17:25:37
> @@ -767,7 +767,7 @@
> return FALSE;
>
> *buff = '\0';
> - if (NNTPsendpassword((char *)NULL, FromServer, ToServer) < 0) {
> + if (NNTPsendpassword(server, FromServer, ToServer) < 0) {
> int oerrno = errno;
> (void)fclose(FromServer);
> (void)fclose(ToServer);
You'll run into this when nnrpdposthost is set in inn.conf (i.e. you're
running INN in Xref slave mode or similar). I did almost a year ago,
sorry for apparently not sending in the patch then...
TIE,
-- Niels.
More information about the inn-workers
mailing list