tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: setsockopt() compat issue



On Fri, Oct 17, 2008 at 06:12:04PM +0100, Iain Hibbert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> On Fri, 17 Oct 2008, Manuel Bouyer wrote:
> 
> > lets just hope there's no binary-only tools that would run into this :)
> > It affects only 64bit platforms anyway ...
> 
> Out of interest, would this always affect 64-bit platforms?  I thought
> somehow that they used 64-bit ints in any case in which case this would
> not bite..

No, LP64 platforms have 64bits long and pointer (that's why it
"LP") but 32bits int. There may be platforms with 64bits int, long
and pointer (they would be called ILP64 I guess) but AFAIK none
are supported by NetBSD.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index