summaryrefslogtreecommitdiff
path: root/libm/sincos.c
diff options
context:
space:
mode:
authorIngo van Lil <inguin@gmx.de>2016-06-23 21:36:36 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-24 18:57:03 +0200
commit03e03e71afc810265b0978f66d62f975bd4f5100 (patch)
tree270fa9a4e1a5e64629b635f88cd88f3c6465a9dd /libm/sincos.c
parent2c3be84e73fa4013608e9b348386ddff91ae0c8c (diff)
inet/resolv: Try search domains first for unqualified names
When resolving an unqualified host name, the resolver tries the original name first before appending the domains from the search list. If a TLD with the same name exists, the query will succeed (but yield no A record) and the resolver will return HOST_NOT_FOUND without trying the search domains. This patch changes the lookup order for unqualified host names (without dots) to try the search domains first and the original name last. Signed-off-by: Ingo van Lil <inguin@gmx.de>
Diffstat (limited to 'libm/sincos.c')
0 files changed, 0 insertions, 0 deletions