Date: Tue, 20 May 2008 02:51:21 -0500 From: Dave Uhring <duhring@charter.net> To: Mark Andrews <Mark_Andrews@isc.org> Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 Message-ID: <20080520075121.GA1512@charter.net> In-Reply-To: <200805200333.m4K3XF72030784@drugs.dv.isc.org> References: <200805200324.m4K3Ow5J030607@drugs.dv.isc.org> <200805200333.m4K3XF72030784@drugs.dv.isc.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080520075121.GA1512>