History log of /seL4-camkes-master/projects/musllibc/src/network/resolvconf.c
Revision Date Author Comments
# dcad020c 28-Jan-2016 Rich Felker <dalias@aerifal.cx>

fix uninitialized variable in new resolv.conf parser


# fe8453d2 28-Jan-2016 Rich Felker <dalias@aerifal.cx>

fix logic for matching search/domain keywords in resolv.conf


# d6cb08bc 28-Jan-2016 Rich Felker <dalias@aerifal.cx>

factor resolv.conf parsing out of res_msend to its own file

this change is made in preparation for adding search domains, for
which higher-level code will need to parse resolv.conf. simply parsing
it twice for each lookup would be one reasonable option, but the
existing parser code was buggy anyway, which suggested to me that it's
a bad idea to have two variants of this code in two different places.

the old code in res_msend potentially misinterpreted overly long lines
in resolv.conf, and stopped parsing after it found 3 nameservers, even
if there were relevant options left to be parsed later in the file.