[ldns-users] ldns_resolver_new_frm_fp_l() comment lines bug

W.C.A. Wijngaards wouter at NLnetLabs.nl
Thu Mar 18 15:40:11 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkuiSVsACgkQkDLqNwOhpPiHrgCeKKQ1fV5Oa3m2JC1XCEiSGJmW
r0IAnAxa2XF4C5PUzj76+qdK3v22Y746
=xDkF
-----END PGP SIGNATURE-----



More information about the ldns-users mailing list