summary refs log tree commit diff
path: root/src/exec.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2010-05-27 11:32:55 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-05-27 11:32:55 +0800
commit127788364951212c356aadc39deb21e01b0161c8 (patch)
treeac64558fdf474a76008c7c924114a6a3c5a9f144 /src/exec.h
parent[VAR] Replace cmdenviron with localvars (diff)
downloaddash-127788364951212c356aadc39deb21e01b0161c8.tar.gz
dash-127788364951212c356aadc39deb21e01b0161c8.zip
[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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
palaver portJune McEnroe 2020-09-09Update pounce to 2.0June McEnroe 2020-09-09Update litterbox to 1.6June McEnroe 2020-08-23Add scooper portJune McEnroe 2020-08-23Add catsit portJune McEnroe 2020-08-13Update pounce to 1.4p2June McEnroe 2020-08-11Update pounce to 1.4p1June McEnroe 2020-08-10Add litterbox portJune McEnroe 2020-08-10Add missing USES=pkgconfig to pounceJune McEnroe