In commit b8e8160d a fix was applied to prevent compiler
warnings when using IN6ADDR_ANY_INIT or IN6ADDR_LOOPBACK_INIT:
https://bugzilla.redhat.com/show_bug.cgi?id=1067426
Apparently this change wasn't fully complete as it turned
out to break the contents of the global variable in6addr_loopback:
https://bugzilla.redhat.com/show_bug.cgi?id=1124368
Okay to apply?
Regards,
Erik van Pienbroek
From e6290e7bb7d0a7ddf541dc8243407909d63c139d Mon Sep 17 00:00:00 2001
From: Erik van Pienbroek epien...@fedoraproject.org
Date: Tue, 29 Jul 2014 23:51:43 +0200
Subject: [PATCH] Use correct initializer for in6addr_loopback and in6addr_any
In commit b8e8160d a fix was applied to prevent compiler
warnings when using IN6ADDR_ANY_INIT or IN6ADDR_LOOPBACK_INIT:
https://bugzilla.redhat.com/show_bug.cgi?id=1067426
Apparently this change wasn't fully complete as it turned
out to break the contents of the global variable in6addr_loopback:
https://bugzilla.redhat.com/show_bug.cgi?id=1124368
---
mingw-w64-crt/libsrc/ws2_32.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mingw-w64-crt/libsrc/ws2_32.c b/mingw-w64-crt/libsrc/ws2_32.c
index 9584f81..34d880c 100644
--- a/mingw-w64-crt/libsrc/ws2_32.c
+++ b/mingw-w64-crt/libsrc/ws2_32.c
@@ -2,5 +2,5 @@
#include ws2tcpip.h
/* IPv6 constants for use in structure assignments (RFC 2553). */
-const struct in6_addr in6addr_any = {{ IN6ADDR_ANY_INIT }};
-const struct in6_addr in6addr_loopback = {{ IN6ADDR_LOOPBACK_INIT }};
+const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT;
+const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
--
2.0.1
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public