Subject: Re: make: adding .export
To: Simon Gerraty <sjg@juniper.net>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-toolchain
Date: 10/10/2007 11:45:12
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 02, 2007 at 11:15:21AM -0700, Simon Gerraty wrote:
  | The patch below, adds a .export facility which is pretty analagous to
  | gmake's.  It is often handy to set macros for tools like PERL, and
  | export them to all children.
  |=20
  | Actual export of vars that have '$' in their values is delayed until
  | we fork a child, while a bit expensive in compat mode, this ensures
  | accurate results and minimizes the ability of setenv to leak memory in
  | the parent.

Seems like a reasonable idea to me.

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFHDC6opBhtmn8zJHIRAk+0AJ9ro04XAWNhqzMR9VGPKeBlJ16zQACgzBBb
dCKumt3Zeq+hxRhjOsLBKBc=
=TG6B
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--