about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-06-21 13:09:08 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-06-21 13:09:08 +0200
commit60149b28590be28051f99d0a343d7fbe002f2a8c (patch)
tree3eb9b2d7016cedd4178a193fe6c0146ec847f7ee /ChangeLog
parent965d5c391c86eb3a812ce308411c32754f12a9d2 (diff)
downloadglibc-60149b28590be28051f99d0a343d7fbe002f2a8c.tar.gz
glibc-60149b28590be28051f99d0a343d7fbe002f2a8c.tar.xz
glibc-60149b28590be28051f99d0a343d7fbe002f2a8c.zip
__inet_pton_length: Implement new internal helper function
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 58cf98cf0a..a3a82841fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.