commit bash-20050519 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:47:06 -05:00
parent 798a67db11
commit 19e1dd936d
22 changed files with 1155 additions and 110 deletions
+5
View File
@@ -3051,7 +3051,12 @@ execute_builtin (builtin, words, flags, subshell)
/* The temporary environment for a builtin is supposed to apply to
all commands executed by that builtin. Currently, this is a
problem only with the `source' and `eval' builtins. */
#if 0
isbltinenv = (builtin == source_builtin || builtin == eval_builtin);
#else
isbltinenv = (builtin == source_builtin || builtin == eval_builtin || builtin == unset_builtin);
#endif
if (isbltinenv)
{
if (subshell == 0)