From b112dc08c6c86b8b82d60b1169ccab51921241ca Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Thu, 27 May 2010 15:03:46 +0800 Subject: [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 --- ChangeLog | 1 + 1 file changed, 1 insertion(+) (limited to 'ChangeLog') 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 -- cgit 1.4.1