[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fix up arith for init fail return
From: |
Grisha Levit |
Subject: |
[PATCH] fix up arith for init fail return |
Date: |
Tue, 26 Sep 2023 18:17:18 -0400 |
loop_level and interrupt_execution don't get restored if the
initialization step in an arithmetic for command has an expansion
failure.
$ for ((j=;;)); do :; done
bash: ((: j=: arithmetic syntax error: operand expected (error token is "=")
$ echo X; break
X
$ echo Y
$
0001-fix-up-arith-for-init-fail-return.patch
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] fix up arith for init fail return,
Grisha Levit <=