Re: [PATCH 1/4] [VAR] Add localvars nesting

2010-05-26 Thread Herbert Xu
On Wed, May 26, 2010 at 11:55:33PM +0200, Jilles Tjoelker wrote: > > > @@ -950,13 +947,13 @@ evalfun(struct funcnode *func, int argc, char **argv, > > int flags) > > shellparam.p = argv + 1; > > shellparam.optind = 1; > > shellparam.optoff = -1; > > + pushlocalvars(); > > evaltre

Re: [PATCH 1/4] [VAR] Add localvars nesting

2010-05-26 Thread Jilles Tjoelker
On Wed, May 26, 2010 at 09:00:31PM +1000, Herbert Xu wrote: > [VAR] Add localvars nesting > This patch adds localvars nesting infrastructure so we can reuse > the localvars mechanism for command evaluation. localvars could already nest, it's just that this change makes the nesting explicit instea