mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 03:10:50 +02:00
commit bash-20090226 snapshot
This commit is contained in:
+7
-3
@@ -4081,8 +4081,11 @@ execute_function (var, words, flags, fds_to_close, async, subshell)
|
||||
#endif
|
||||
|
||||
if (variable_context == 0 || this_shell_function == 0)
|
||||
make_funcname_visible (0);
|
||||
|
||||
{
|
||||
make_funcname_visible (0);
|
||||
unlink_fifo_list ();
|
||||
}
|
||||
|
||||
return (result);
|
||||
}
|
||||
|
||||
@@ -4471,7 +4474,8 @@ parent_return:
|
||||
/* Make sure that the pipes are closed in the parent. */
|
||||
close_pipes (pipe_in, pipe_out);
|
||||
#if defined (PROCESS_SUBSTITUTION) && defined (HAVE_DEV_FD)
|
||||
unlink_fifo_list ();
|
||||
if (variable_context == 0)
|
||||
unlink_fifo_list ();
|
||||
#endif
|
||||
FREE (command);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user