summaryrefslogtreecommitdiff
path: root/execute_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'execute_cmd.c')
-rw-r--r--execute_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/execute_cmd.c b/execute_cmd.c
index c55fd92e..4c0ad63e 100644
--- a/execute_cmd.c
+++ b/execute_cmd.c
@@ -2484,7 +2484,7 @@ uw_merge_temporary_env (void *ignore)
}
/* Catch-all cleanup function for lastpipe code for unwind-protects */
-static void
+void
uw_lastpipe_cleanup (void *s)
{
set_jobs_list_frozen ((intptr_t) s);
@@ -5915,6 +5915,7 @@ initialize_subshell (void)
variable_context = return_catch_flag = funcnest = evalnest = sourcenest = 0;
interrupt_execution = retain_fifos = 0; /* XXX */
+ executing_funsub = 0; /* XXX */
/* If we're not interactive, close the file descriptor from which we're
reading the current shell script. */