commit bash-20041021 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:38:20 -05:00
parent 453f278a2a
commit c327176389
27 changed files with 5275 additions and 55 deletions
+1 -1
View File
@@ -3053,7 +3053,7 @@ execute_builtin (builtin, words, flags, subshell)
{
push_scope (VC_BLTNENV, temporary_env);
if (subshell == 0)
add_unwind_protect (pop_scope, "1");
add_unwind_protect (pop_scope, (flags & CMD_COMMAND_BUILTIN) ? 0 : "1");
temporary_env = (HASH_TABLE *)NULL;
}
}