mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-04 09:12:27 +02:00
updates for nofork command substitution; changes for z/OS machines; fix for race in wait_for_any_job
This commit is contained in:
+2
-1
@@ -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--;
|
||||
|
||||
Reference in New Issue
Block a user