[PATCH] Xtranssock: assume that we have getaddrinfo if ipv6 is enabled

Yaakov (Cygwin/X) yselkowitz at users.sourceforge.net
Thu Sep 3 00:55:29 PDT 2009


On 11/08/2009 12:23, Alan Coopersmith wrote:
> That was how I originally wrote the code - the weak/mismatch case was added
> by David Dawes in the XFree86 integration because he was seeing crashes on
> FreeBSD when the server was built with IPv6 support but libc was not
> (possibly because they were linked, statically or dynamically, with an older
>   version of libc, but somehow also linked with a new version of libX11):
>
> 	http://www.mail-archive.com/devel-72qDnkntNoRAfugRpC6u6w@public.gmane.org/msg04177.html
>
> Presumably, that case is far more rare in 2009 than it was in 2003, and I
> have no objections to not catering for it.   Certainly it's not something
> that we'd support on Solaris/OpenSolaris - I don't know about other OS'es.

On Cygwin, it's even worse:  binutils' PE/COFF weak symbol handling 
doesn't always work as on ELF, so this abstraction was actually breaking 
the inet6 listener.  +1 for the patch.


Yaakov
Cygwin/X


More information about the xorg-devel mailing list