ash: [VAR] Replace cmdenviron with localvars
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Jul 2017 17:53:11 +0000 (19:53 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Jul 2017 18:33:51 +0000 (20:33 +0200)
commit981a0568b3f3003cd1a2640ade61d8f5ebdfb865
treee54e9436422569952d0c89ce6e7c79016f64b151
parentd5b500c81c1ec73d2feeea14c2e872726044d9e8
ash: [VAR] Replace cmdenviron with localvars

Upstream commit:

    Date: Wed, 26 May 2010 18:54:19 +0800
    [VAR] Replace cmdenviron with localvars

    This patch replaces the cmdenviron mechanism for temporary command
    variables with the localvars mechanism used by functions.

    This reduces code size, and more importantly, makes the variable
    assignment take effect immediately as required by POSIX.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c