[2687] in Kerberos_V5_Development
Re: More Unicos porting hell (struct inaddr)
daemon@ATHENA.MIT.EDU (Theodore Y. Ts'o)
Tue Oct 28 23:56:18 1997
Date: Tue, 28 Oct 1997 23:55:38 -0500
From: "Theodore Y. Ts'o" <tytso@MIT.EDU>
To: Ken Hornstein <kenh@cmf.nrl.navy.mil>
Cc: krbdev@MIT.EDU
In-Reply-To: Ken Hornstein's message of Tue, 28 Oct 1997 13:56:20 -0500,
<199710281856.NAA00978@ginger.cmf.nrl.navy.mil>
Wow, the Cray is really gross. It basically appears to be inviting you
to make the (unsafe) assumption that st_addr fits into a long. Most
modern code uses the memcpy because future IP addresses (like IPv6)
won't be 32 bits long. The Cray code, on the other hand, is practically
forcing you to assume you can move IP addresses around using long's....
- Ted