From owner-freebsd-stable@FreeBSD.ORG Tue May 20 07:51:23 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 792C71065677 for ; Tue, 20 May 2008 07:51:23 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 0CC1D8FC1C for ; Tue, 20 May 2008 07:51:22 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080520075122.TBGS5653.mta11.charter.net@aarprv04.charter.net>; Tue, 20 May 2008 03:51:22 -0400 Received: from localhost ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080520075122.GJQZ4495.aarprv04.charter.net@localhost>; Tue, 20 May 2008 03:51:22 -0400 Received: by localhost (Postfix, from userid 1000) id CC65188D60; Tue, 20 May 2008 02:51:21 -0500 (CDT) Date: Tue, 20 May 2008 02:51:21 -0500 From: Dave Uhring To: Mark Andrews Message-ID: <20080520075121.GA1512@charter.net> References: <200805200324.m4K3Ow5J030607@drugs.dv.isc.org> <200805200333.m4K3XF72030784@drugs.dv.isc.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805200333.m4K3XF72030784@drugs.dv.isc.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 07:51:23 -0000 On Tue, May 20, 2008 at 01:33:15PM +1000, Mark Andrews wrote: > > And when tested does behave the way you describe. > > Mark > > drugs:9.5.x 13:30 {4371} % bash > [marka@drugs ~/cvs/9.5.x]$ printenv | grep FOO > [marka@drugs ~/cvs/9.5.x]$ FOO=ll > [marka@drugs ~/cvs/9.5.x]$ export FOO > [marka@drugs ~/cvs/9.5.x]$ printenv | grep FOO > FOO=ll > [marka@drugs ~/cvs/9.5.x]$ FOO="" > [marka@drugs ~/cvs/9.5.x]$ export FOO > [marka@drugs ~/cvs/9.5.x]$ printenv | grep FOO > FOO= > [marka@drugs ~/cvs/9.5.x]$ env -i PATH=$PATH printenv | grep FOO > [marka@drugs ~/cvs/9.5.x]$ This is Solaris but bash is bash: [duhring@einstein ~]$ printenv | grep CFLAGS CFLAGS=-xO3 -m32 -xarch=native -mt -I/usr/sfw/include -I/usr/X11/include -I/opt/sfw/include You have mail in /var/mail/duhring [duhring@einstein ~]$ export CFLAGS="" [duhring@einstein ~]$ printenv | grep CFLAGS CFLAGS= [duhring@einstein ~]$ export CFLAGS='-xO3 -m32 -xarch=native' [duhring@einstein ~]$ printenv | grep CFLAGS CFLAGS=-xO3 -m32 -xarch=native [duhring@einstein ~]$ export CFLAGS="" [duhring@einstein ~]$ printenv | grep CFLAGS CFLAGS= [duhring@einstein ~]$ env -i PATH=$PATH printenv | grep CFLAGS [duhring@einstein ~]$ When I tell you that CFLAGS="", CFLAGS="", and a cursory examination of my last compiler output would have shown you exactly that.