summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-09 11:27:44 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-09 11:27:44 +0100
commit0abbe7cd700951082b314182a0958d65238297ef (patch)
treeadcd0df49e7cb1024fbe39034a54798c36f116d7 /ChangeLog
parentc23de0aacbeaa7a091609b35764bed931475a16d (diff)
downloadglibc-0abbe7cd700951082b314182a0958d65238297ef.tar.gz
glibc-0abbe7cd700951082b314182a0958d65238297ef.tar.xz
glibc-0abbe7cd700951082b314182a0958d65238297ef.zip
inet: Make IN6_IS_ADDR_UNSPECIFIED etc. usable with POSIX [BZ #16421]
Previously, under some feature test macros and compilers, the
macros were defined, but references undefined struct members
in their implementation.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fa3c109180..5a9191afaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2016-12-09  Carlos O'Donell  <carlos@redhat.com>
+	    Florian Weimer  <fweimer@redhat.com>
+
+	[BZ #16421]
+	* inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
+	and __u6_addr32 members.
+	(IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
+	(IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
+	(IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
+	Use __u6_addr32.
+	* inet/tst-checks.c: Use <support/test-driver.c>
+	* inet/tst-checks-posix.c: New file.
+	* inet/Makefile (tests): Add it.
+	(CFLAGS-tst-checks-posix.c): Compile in C99 mode.
+
 2016-12-09  Florian Weimer  <fweimer@redhat.com>
 
 	New subdirectory support for build and test infrastructure.