[leafnode-list] Re: Leafnode cannot find the host

Cecil Westerhof cldwesterhof at gmail.com
Wed Jul 10 07:00:36 CEST 2013


2013/7/10 Matthias Andree <matthias.andree at gmx.de>:
> Cecil Westerhof wrote:
>
>> I did everything you said, but ltrace revealed the bug. So I do not
>> think the other information is interesting any-more.
>
> Well, the leafnode version is always interesting, but thanks for
> pointing me in the right direction.

leafnode-1.11.8


>> You can use:
>>     server = news.kpn.nl
>>
>> But when you use:
>>     server = news.kpn.nl # some comment
>>
>> you got the error I mentioned. So I think leafnode should be amended
>> to handle comments correctly.
>
> Cecil,
>
> I have found the bug; whitespace between the value and comment are not
> stripped in leafnode versions up to 1.11.10, or leafnode 2 alphas
> released before today, 2013-07-10.

Releases are fast. I do not think that mine is very old, but there are
already two others. ;-)
I can not find the difference between leafnode 1 and 2. (Besides 2
will have more features.)


> Fix committed to Git for leafnode-1 and leafnode-2, to appear in the
> respective next releases.
>
>
> Workaround possibilities for older versions:
>
> server = "news.kpn.nl" # some comment
> (quote the value)
>
> server = news.kpn.nl# some comment
> (no whitespace before the comment)
>
> # comment before the server line:
> server = news.kpn.nl
>
>
> Thanks for the bug report!

You are welcome. :-D


-- 
Cecil Westerhof



More information about the leafnode-list mailing list