[ldns-users] ldns_resolver_new_frm_fp_l() comment lines bug
Matthijs Mekking
matthijs at NLnetLabs.nl
Wed Apr 21 08:47:49 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Zbynek,
What seems to be the error? It reads my resolv.conf (including search
line) fine.
Best regards,
Matthijs
Zbynek Michl wrote:
> Hi Wouter,
>
> there is probably another bug in ldns_resolver_new_frm_fp_l(). Function
> can not read "search" list from resolv.conf.
>
> Thanks,
> Zbynek
>
> On 18.3.2010 16:40, W.C.A. Wijngaards wrote:
> Hi Zbynek,
>
> Fixed in svn r 3210
>
> The example you gave did not fail for me? It failed with different
> whitespace. But anyway, the comment handling did not properly handle
> skipping onto the next line, so I fixed that :-)
>
> Thanks for the report!
> Wouter
>
> On 03/18/2010 02:39 PM, Zbynek Michl wrote:
>>>> there is probably a bug in ldns_resolver_new_frm_fp_l() function. When I
>>>> use ldns_resolver_new_frm_file() to read /etc/resolv.conf, it
>>>> incorrectly handles comment lines.
>>>>
>>>> So it seems if some line is commented out, then the next line is ommited
>>>> too.
_______________________________________________
ldns-users mailing list
ldns-users at open.nlnetlabs.nl
http://open.nlnetlabs.nl/mailman/listinfo/ldns-users
> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEcBAEBAgAGBQJLzruzAAoJEA8yVCPsQCW5OfwIAKAEknSe89OyHGV45upC850m
IxaRQdxrIPZYCBwuf76p00/KnZAjAmsnhYUlUYydUadUTbAlLO9rI4seHJE5NnyC
i5cFCfvYERzT3BVM9E2LoiiIiVLPbqHDFCgUi+qogH/Aq9UWxnpMCrSiF6UDLSyr
TUks6TGZ8sy5IasbKvHdjIl7QZ8I8ch+DO/2ugl1lZAhVys6C5cc34BJEjFzORL+
vqBQG+JoTlGDbvXg0m99peIiyI9urhbxiUmul2zZ6IUweftbH/jkJWzO8q9/EJtS
0tmIR6V+c8Gh9rKQ1qzeQYCg3V3ycx14qRQreJll3x+YYRqAU2I18gpoCQ13/LI=
=hlHb
-----END PGP SIGNATURE-----
More information about the ldns-users
mailing list