diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-01-08 14:33:17 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-01-08 20:07:24 +0100 |
commit | 401311cfba71b61d93d23aa17e5c9ac5fb047d48 (patch) | |
tree | c75e333a4167d782bd22da480b516c6b7e07c9ae /include/math.h | |
parent | 2b3aa44656dd873e2753c98fdcb95be6a9d147a6 (diff) | |
download | glibc-401311cfba71b61d93d23aa17e5c9ac5fb047d48.zip glibc-401311cfba71b61d93d23aa17e5c9ac5fb047d48.tar.gz glibc-401311cfba71b61d93d23aa17e5c9ac5fb047d48.tar.bz2 |
resolv: Support binary labels in test framework
The old implementation based on hsearch_r used an ad-hoc C string
encoding and produced an incorrect format on the wire for domain
names which contained bytes which needed escaping when printed.
This commit switches to ns_name_pton for the wire format conversion
(now that we have separate tests for it) and uses a tsearch tree
with a suitable comparison function to locate compression targets.
Diffstat (limited to 'include/math.h')
0 files changed, 0 insertions, 0 deletions