Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 13:54:47 +0100
From:      Martin Cracauer <cracauer@cons.org>
To:        Marcel Moolenaar <marcel@scc.nl>
Cc:        Martin Cracauer <cracauer@cons.org>, current@FreeBSD.ORG
Subject:   Re: sh(1) broken caching [was: Re: Broken sh(1)?]
Message-ID:  <19991215135447.B24584@cons.org>
In-Reply-To: <38578695.D41619A9@scc.nl>; from Marcel Moolenaar on Wed, Dec 15, 1999 at 01:16:21PM %2B0100
References:  <712.945183175@axl.noc.iafrica.com> <38565DEA.4487DF53@scc.nl> <19991215105728.A61202@cons.org> <38576BD2.21701740@scc.nl> <19991215122546.A24027@cons.org> <38578695.D41619A9@scc.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
In <38578695.D41619A9@scc.nl>, Marcel Moolenaar wrote: 
> Martin Cracauer wrote:
> > 
> > In <38576BD2.21701740@scc.nl>, Marcel Moolenaar wrote:
> > > It seems to me that when there's a PATH= assignment you don't want to
> > > add anything to the cache or alternatively, clear the cache after
> > > execution of the command having a PATH= assignment.
> > 
> > The first solution is better, but the source messes with the hashtable
> > too directly in too many places.
> > 
> > Appended diff does the second route. Does it fix your problems?
> 
> It fixes the examples and thus my problems :-)
> 
> I already created a work-around in `make buildworld' so it works on
> older shells without the need to build sh(1) in the bootstrap stage,
> because the bug only pops up when doing a parallel make (ie make -jN)
> because each command will be executed by the same shell instance in that
> case.

I would like you to do so, since I'd like to give the better solution
a shot over the weekend.

> BTW: Don't forget to remove '-g' from CFLAGS when you commit the patch
> :-)

Ops :-) Now working with a seperate Makefile (for bumping Warning
levels).

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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