[2541] in Kerberos_V5_Development
Re: Prototype hell
daemon@ATHENA.MIT.EDU (Ken Hornstein)
Fri Oct 10 10:03:09 1997
To: Ken Raeburn <raeburn@cygnus.com>
Cc: krbdev@MIT.EDU
In-Reply-To: Your message of "10 Oct 1997 00:14:00 EDT."
<tx1pvpetfuf.fsf@cygnus.com>
Date: Fri, 10 Oct 1997 10:02:12 -0400
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
>Does krb5_int32==int work on the Cray? I don't know if there's
>actually any code that will break if krb5_int32 has more than 32 bits,
>since all the systems I use do have a true 32-bit type....
Well, there's all of the DES code, all of the RPC code, there are some
problems in the credential cache code that I haven't quite figured out
yet ...
The real problems is that there are tons of things that assume that
krb5_int32 is 4 bytes. That's a reasonably assumption, I suppose, but
I'm starting to see why some people feel sized types are evil :-)
Of course, the _real_ thing that hacks me off is that this wasn't a
problem on the YMP-EL I was using at first! I just used krb5_int32==short
and that compiled without any problems (there were other weird problems,
though, but not nearly as many :-/).
However, I think I'll just try doing that regardlsse, and I'll see
what breaks ...
--Ken