diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-21 13:09:08 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-21 13:09:08 +0200 |
commit | 60149b28590be28051f99d0a343d7fbe002f2a8c (patch) | |
tree | 3eb9b2d7016cedd4178a193fe6c0146ec847f7ee /ChangeLog | |
parent | 965d5c391c86eb3a812ce308411c32754f12a9d2 (diff) | |
download | glibc-60149b28590be28051f99d0a343d7fbe002f2a8c.tar.gz |
__inet_pton_length: Implement new internal helper function
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,5 +1,23 @@ 2017-06-21 Florian Weimer <fweimer@redhat.com> + Add the __inet_pton_length helper function. + * resolv/resolv-internal.h (__inet_pton_length): Declare. + * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton. + Add length argument. + (__inet_pton): New function. + (inet_pton4): Add length argument. + (hex_digit_value): New function. + (inet_pton6): Add length argument. Call hex_digit_value. Use + memmove and memset to fill :: gap. + * resolv/Makefile (tests, tsts-static, tests-internal): Add + tst-inet_pton. + * resolv/tst-inet_pton.c: New file. + * support/Makefile (libsupport-routines): Add xmprotect. + * support/xunistd.h (xmprotect): Declare. + * support/xmprotect.c: New file. + +2017-06-21 Florian Weimer <fweimer@redhat.com> + Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c. * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>. (call_gai, check_ai): New functions. |