mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 09:29:51 +02:00
commit bash-20080522 snapshot
This commit is contained in:
+11
-4
@@ -2292,10 +2292,17 @@ execute_case_command (case_command)
|
||||
|
||||
if (match)
|
||||
{
|
||||
if (clauses->action && ignore_return)
|
||||
clauses->action->flags |= CMD_IGNORE_RETURN;
|
||||
retval = execute_command (clauses->action);
|
||||
EXIT_CASE ();
|
||||
do
|
||||
{
|
||||
if (clauses->action && ignore_return)
|
||||
clauses->action->flags |= CMD_IGNORE_RETURN;
|
||||
retval = execute_command (clauses->action);
|
||||
}
|
||||
while ((clauses->flags & CASEPAT_FALLTHROUGH) && (clauses = clauses->next));
|
||||
if ((clauses->flags & CASEPAT_TESTNEXT) == 0)
|
||||
EXIT_CASE ();
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
QUIT;
|
||||
|
||||
Reference in New Issue
Block a user