This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/16421] IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32


https://sourceware.org/bugzilla/show_bug.cgi?id=16421

Octavio Alvarez <alvarezp at alvarezp dot ods.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7388|0                           |1
        is obsolete|                            |

--- Comment #19 from Octavio Alvarez <alvarezp at alvarezp dot ods.org> ---
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]