bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IPv6 structs on MacOS X


From: Justin Clift
Subject: Re: IPv6 structs on MacOS X
Date: Thu, 16 Sep 2010 06:29:52 +1000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Thunderbird/3.1.3

On 09/16/2010 04:52 AM, Bruno Haible wrote:
<snip>
This message talks about the unportability of a field 's6_addr32' in
'struct in6_addr'. Sure this is unportable: POSIX [1] specifies only the
presence of 's6_addr'.

I don't see why gnulib should support this: An application can perfectly
access the 16 bytes of the s6_addr[] array. Why would it need to access a
specific part of it in a special way?

My apologies. I should have been significantly clearer in what I was trying for there. :)

(adding the libvirt devel mailing list back in, due to relevance)

Tried compiling libvirt on OS X, which errored on this piece of IPv6 code:

  http://www.redhat.com/archives/libvir-list/2010-September/msg00243.html

The message I quoted to Eric above, which you've then looked at, was danpb wondering whether we should be using gnulib to avoid the portability problem.

This stuff is outside my area of expertise though. :)

Regards and best wishes,

Justin Clift



reply via email to

[Prev in Thread] Current Thread [Next in Thread]