[VAR] Do not poplocalvars prematurely on regular utilities
commit1d806ac1fbafb867f6252e184e1be05c0829ab71
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 27 May 2010 03:50:19 +0000 (27 11:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 27 May 2010 03:50:19 +0000 (27 11:50 +0800)
treeb53f7fc72f3d535437421c57653196a8b0d40663
parent85d5473923c546779213a6c1c0663fdfb1dbcfba
[VAR] Do not poplocalvars prematurely on regular utilities

The recent cmdenviron removal broke regular utilities by calling
poplocalvars too early.  This patch fixes that by postponing the
poplocalvars for regular utilities until they have completed.

In order to ensure that local still works, it is now a special
built-in.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
ChangeLog
src/builtins.def.in
src/eval.c