cvs commit: src/lib/libc/sys tls.2

Joerg Sonnenberger joerg at britannica.bec.de
Mon Mar 21 14:07:01 PST 2005


On Mon, Mar 21, 2005 at 01:45:53PM -0800, Chris Pressey wrote:
> On Mon, 21 Mar 2005 22:30:53 +0100
> Joerg Sonnenberger <joerg at xxxxxxxxxxxxxxxxx> wrote:
> 
> > On Mon, Mar 21, 2005 at 01:19:11PM -0800, Chris Pressey wrote:
> > > OK, then s/4294967296/2147483648/ and s/2147483648/1073741824/ :)
> > > 
> > > > Or think about sizeof(char[INT_MAX]) vs. sizeof(char[UINT_MAX]).
> > > 
> > > I have... I fail to see how it changes my point.
> > 
> > 2147483648 is not a signed int constant?
> 
> So 1073741824 should be forced to be unsigned too?  That doesn't make
> sense.

If you consider that sizeof() is intended to be a special function like
thingy, it makes sense.

Joerg





More information about the Commits mailing list