diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-26 19:55:31 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-26 20:33:51 +0200 |
commit | 484fc2056df8a82acabc70386eeb6d0da4982fec (patch) | |
tree | 6fb274f54567084fde08d667e7d6183f2971e85f /shell/ash_test/ash-psubst/tick.tests | |
parent | 981a0568b3f3003cd1a2640ade61d8f5ebdfb865 (diff) | |
download | busybox-484fc2056df8a82acabc70386eeb6d0da4982fec.tar.gz |
ash: [VAR] Fix poplocalvar on abnormal exit from function
Upstream commit:
Date: Thu, 27 May 2010 11:32:55 +0800
[VAR] Fix poplocalvar on abnormal exit from function
The new localvar code broke the abnormal exit from functions
and built-ins by not restoring the original localvar state.
This patch fixes this by storing the previous localvar state so
that we always unwind correctly in case of an abnormal exit.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-psubst/tick.tests')
0 files changed, 0 insertions, 0 deletions