From owner-freebsd-bugs Wed Dec 12 11:41:47 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id E002137B416 for ; Wed, 12 Dec 2001 11:41:44 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id fBCJfgY25146; Wed, 12 Dec 2001 11:41:42 -0800 Date: Wed, 12 Dec 2001 11:41:42 -0800 From: Brooks Davis To: Sheldon Hearn Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/32760: Please MFC /usr/include/malloc.h to -STABLE. Message-ID: <20011212114141.A23312@Odin.AC.HMC.Edu> References: <200112121930.fBCJU4R56948@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112121930.fBCJU4R56948@freefall.freebsd.org>; from sheldonh@starjuice.net on Wed, Dec 12, 2001 at 11:30:04AM -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Dec 12, 2001 at 11:30:04AM -0800, Sheldon Hearn wrote: > > On Wed, 12 Dec 2001 14:10:48 EST, Alan E wrote: > > > /usr/include/malloc.h on CURRENT generates an error using #error. > > /usr/include/malloc.h on STABLE only generates a #warning. > > > > This means that things (like KDE) will build in STABLE and then people try > > to build the released ports on CURRENT and get bit by this. > > > > If malloc.h were MFC'd, then we'd catch all of this stuff up front, rather > > than after releasing new ports to the world. > > The problem with merging the change onto the stable branch is that it's > a serious change of interface in the middle of the lifetime of a major > release (4.x). > > Sure, POSIX-conformant software should look for the prototype in the > right place, but we try quite hard to keep point release upgrades as > painless as possible. I'm split on this one. On one hand, the warning clearly didn't cut it given that it was in place for ~7 years. On the other hand, I shudder at the thought of making this change to -STABLE. If there's a way to make malloc.h optionaly fatel that would be a good first step since we could strongly encourage porters to enable that and perhaps enable it on bento for good measure. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message