complete initial implementation of nofork command substitution (${ command; })

This commit is contained in:
Chet Ramey
2023-05-15 13:30:18 -04:00
parent c375f8f45f
commit e44e3d50de
42 changed files with 4387 additions and 3516 deletions
+2 -1
View File
@@ -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. */