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

Keith Packard <[email protected]> Wed, 24 Mar 2004 19:03:23 -0800
Newsgroups gmane.comp.freedesktop.xlibs.general
Message-ID <[email protected]>
--===============0566506936==
Content-Type: multipart/signed; boundary="==_Exmh_-1335207619P";
	micalg=pgp-sha1; protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit

--==_Exmh_-1335207619P
Content-Type: text/plain; charset=us-ascii


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



--==_Exmh_-1335207619P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh version 2.3.1 11/28/2001

iD8DBQFAYkv7Qp8BWwlsTdMRAhKUAJ9GNe+tzvKqOI3iiPzz9fTcRmlB2ACeJ9mS
cgCFGZwPxV4+M3y93eXNTOA=
=yqcy
-----END PGP SIGNATURE-----

--==_Exmh_-1335207619P--


--===============0566506936==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
xlibs mailing list
[email protected]
http://freedesktop.org/mailman/listinfo/xlibs

--===============0566506936==--