summaryrefslogtreecommitdiff
path: root/execute_cmd.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2023-05-15 13:30:18 -0400
committerChet Ramey <chet.ramey@case.edu>2023-05-15 13:30:18 -0400
commite44e3d50dee26d12927baca188ad2a44a0135173 (patch)
treee4ff8c47078cdd7b23901205f7e1db26cd1f2242 /execute_cmd.c
parentc375f8f45f4882db3098f9b54a19b75d2b176537 (diff)
downloadbash-devel.tar.gz
complete initial implementation of nofork command substitution (${ command; })devel
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. */