mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-06 03:40:50 +02:00
commit bash-20141010 snapshot
This commit is contained in:
@@ -4494,6 +4494,7 @@ execute_function (var, words, flags, fds_to_close, async, subshell)
|
||||
unwind_protect_pointer (this_shell_function);
|
||||
unwind_protect_int (loop_level);
|
||||
unwind_protect_int (funcnest);
|
||||
unwind_protect_int (loop_level);
|
||||
}
|
||||
else
|
||||
push_context (var->name, subshell, temporary_env); /* don't unwind-protect for subshells */
|
||||
@@ -4584,6 +4585,8 @@ execute_function (var, words, flags, fds_to_close, async, subshell)
|
||||
stop_pipeline (async, (COMMAND *)NULL);
|
||||
#endif
|
||||
|
||||
loop_level = 0;
|
||||
|
||||
fc = tc;
|
||||
|
||||
from_return_trap = 0;
|
||||
|
||||
Reference in New Issue
Block a user