*BSD News Article 83767


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!vbcnet-west!garlic.com!uunet!in1.uu.net!144.212.100.12!news.mathworks.com!enews.sgi.com!news.sgi.com!news1.best.com!nntp1.best.com!usenet
From: Marco S Hyman <marc@dumbcat.codewright.com>
Newsgroups: comp.unix.solaris,comp.unix.bsd.misc,comp.unix.internals
Subject: Re: Solaris 2.6
Date: 27 Nov 1996 19:29:18 -0800
Organization: codewright
Lines: 21
Distribution: inet
Message-ID: <x7917mx5gx.fsf@dumbcat.codewright.com>
References: <32986299.AC7@mail.esrin.esa.it> <casper.329abb76@mail.fwi.uva.nl>
	<57ej3a$7ij@panix2.panix.com> <casper.329ae8f2@mail.fwi.uva.nl>
	<57fipg$q7j@panix2.panix.com> <casper.329c06bc@mail.fwi.uva.nl>
	<57ik5l$12i$1@shade.twinsun.com>
NNTP-Posting-Host: dumbcat.codewright.com
X-Newsreader: Gnus v5.3/Emacs 19.34
Xref: euryale.cc.adfa.oz.au comp.unix.solaris:90689 comp.unix.bsd.misc:1613 comp.unix.internals:11351

eggert@twinsun.com (Paul Eggert) writes:

> While we're on the subject, when will Solaris migrate to the right way
> of doing things: int = 32 bits, long = 64?  Perhaps this will be
> another set of ifdefs in the Solaris 2.7 include files (:-)?

Wellllll, I'll let you in on the secret ..... its a two stage process.

Stage 1:
Keep long 32 bits but now with 64 bit pointers so you can catch every
program that assumes a pointer can be stored in a long or int.

Stage 2 (not to be started until the world's C software has been fixed
	 regarding pointers and longs):
Change longs to 64 bits so we can start over again, this time finding
every line of code that assumes an IP address fits in a long or int.

You see, if we delay Stage 2 long enough the universal switch to IPV6
will have already solved the problem.

// marc