[Xorg] Re: 64-bit applications and hostnames that start with a digit

Keith Packard keithp at keithp.com
Wed Mar 24 19:03:23 PST 2004


Around 18 o'clock on Mar 24, Paul Anderson wrote:

> From the header files I've seen, INADDR_NONE is defined properly
> to cast the -1 to (in_addr_t), so this seems like a safer way
> to accomplish what the original code does.

Looks identical except for using in_addr_t and INADDR_NONE.  Seems fine to 
me; I guess there's a question as to whether there are machines without 
these values; changing it will certainly uncover any such machines when 
people try to build.

I suggest this as a post-6.7.0.0 change though; it may accidentally break 
things which have worked.

In the modular tree, we can test for in_addr_t and INADDR_NONE and use them
when present, and avoid them where missing all automatically.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20040324/67abef24/attachment.pgp>


More information about the xorg mailing list