Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 11:41:42 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Sheldon Hearn <sheldonh@starjuice.net>
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>
In-Reply-To: <200112121930.fBCJU4R56948@freefall.freebsd.org>; from sheldonh@starjuice.net on Wed, Dec 12, 2001 at 11:30:04AM -0800
References:  <200112121930.fBCJU4R56948@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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