diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-05-27 15:03:46 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-05-27 15:03:46 +0800 |
commit | b112dc08c6c86b8b82d60b1169ccab51921241ca (patch) | |
tree | 04bb75f4f823114f566d68ec52745421268baa99 /ChangeLog | |
parent | [REDIR] Move null redirect checks into caller (diff) | |
download | dash-b112dc08c6c86b8b82d60b1169ccab51921241ca.tar.gz dash-b112dc08c6c86b8b82d60b1169ccab51921241ca.zip |
[REDIR] Fix popredir on abnormal exit from built-in
Just like the poplocalvar problem recently fixed, redirections can also be leaked in case of an abnormal exit. This patch fixes it using the same method as poplocalvar, by storing the previous redirection state and restoring to that point. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 1fd184b..650899a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * Fix poplocalvar on abnormal exit from function. * Do not poplocalvars prematurely on regular utilities. * Move null redirect checks into caller. + * Fix popredir on abnormal exit from built-in. 2010-05-26 Herbert Xu <herbert@gondor.apana.org.au> |