From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30933 invoked by alias); 4 Feb 2014 22:38:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 30892 invoked by uid 48); 4 Feb 2014 22:38:52 -0000 From: "alvarezp at alvarezp dot ods.org" To: glibc-bugs@sourceware.org Subject: [Bug network/16421] IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32 Date: Tue, 04 Feb 2014 22:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alvarezp at alvarezp dot ods.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg00056.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16421 Octavio Alvarez changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7388|0 |1 is obsolete| | --- Comment #19 from Octavio Alvarez --- Created attachment 7391 --> https://sourceware.org/bugzilla/attachment.cgi?id=7391&action=edit This patch proposes a single universal implementation, apparently consistent with all the requirements stated in this bug report. Characteristics: * It exposes __in6_u.__u6_addr32[] unconditionally. * It uses the exposed macros for internal implementation consistency. * It keeps type casts in. * It doesn't need non-ISO C extensions. * It removes the need for #ifdef __GNUC__. * It removes the alternate implementation altogether as it's unneeded now. * Passes 24 combinations of gcc and clang compilation relevant to lax, strict and standards compliance. -- You are receiving this mail because: You are on the CC list for the bug.