From owner-freebsd-current Wed Jan 27 22:56:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA25064 for freebsd-current-outgoing; Wed, 27 Jan 1999 22:56:32 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles73.castles.com [208.214.165.73]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA25058 for ; Wed, 27 Jan 1999 22:56:30 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id WAA01695; Wed, 27 Jan 1999 22:52:16 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901280652.WAA01695@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Nate Williams cc: John Birrell , archie@whistle.com, wollman@khavrinen.lcs.mit.edu, current@FreeBSD.ORG Subject: Re: btokup() macro in sys/malloc.h In-reply-to: Your message of "Wed, 27 Jan 1999 23:20:06 MST." <199901280620.XAA26671@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 27 Jan 1999 22:52:16 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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