From 95a60b2936e8835963bfb08eadc0edf9dddf0498 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Wed, 26 May 2010 18:54:19 +0800 Subject: [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 --- src/eval.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/eval.h') diff --git a/src/eval.h b/src/eval.h index e190b28..ac394e8 100644 --- a/src/eval.h +++ b/src/eval.h @@ -37,7 +37,6 @@ extern char *commandname; /* currently executing command */ extern int exitstatus; /* exit status of last command */ extern int back_exitstatus; /* exit status of backquoted command */ -extern struct strlist *cmdenviron; /* environment for builtin command */ struct backcmd { /* result of evalbackcmd */ -- cgit 1.4.1