Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 22:52:16 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Nate Williams <nate@mt.sri.com>
Cc:        John Birrell <jb@cimlogic.com.au>, archie@whistle.com, wollman@khavrinen.lcs.mit.edu, current@FreeBSD.ORG
Subject:   Re: btokup() macro in sys/malloc.h 
Message-ID:  <199901280652.WAA01695@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 27 Jan 1999 23:20:06 MST." <199901280620.XAA26671@mt.sri.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > In my experience, the resulting
> > code tends to be more portable across architectures with different
> > pointer/long sizes and endian-ness.
> 
> This is where I disagree.  Too often people cast away the bugs and end
> up with overflow and sign problems.

Since we haven't tried this yet, and since without the warnings you'd 
never know about the problems in the first place, at least we have an 
improvement over the status quo.

If it sucks, we can back it out.  If not, then we can keep it.

Relax, both of you.  This is -current, remember?

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901280652.WAA01695>