updates for nofork command substitution; changes for z/OS machines; fix for race in wait_for_any_job

This commit is contained in:
Chet Ramey
2023-05-22 09:37:41 -04:00
parent e44e3d50de
commit 782af56204
32 changed files with 14812 additions and 12506 deletions
+2 -1
View File
@@ -3671,7 +3671,6 @@ execute_while_or_until (WHILE_COM *while_command, int type)
while (1)
{
return_value = execute_command (while_command->test);
REAP ();
/* Need to handle `break' in the test when we would break out of the
loop. The job control code will set `breaking' to loop_level
@@ -3700,6 +3699,8 @@ execute_while_or_until (WHILE_COM *while_command, int type)
body_status = execute_command (while_command->action);
QUIT;
REAP ();
if (breaking)
{
breaking--;