Jilles Tjoelker 29d401c22d sh: Do not run callers' exception handlers in subshells.
Reset the exception handler in the child to main's.

This avoids inappropriate double cleanups or shell duplication when the
exception is caught, such as 'fc' and future 'command eval' and 'command .'.
2009-12-25 20:21:35 +00:00
..
2009-10-15 18:17:29 +00:00
2009-06-23 23:30:56 +00:00
2009-10-17 15:53:15 +00:00
2009-01-30 16:23:57 +00:00
2009-06-23 23:30:56 +00:00
2006-12-18 15:45:01 +00:00
2007-03-04 19:52:07 +00:00
2009-11-02 12:35:38 +00:00
2009-06-23 23:30:56 +00:00
2007-03-04 09:15:12 +00:00
2006-12-27 11:28:00 +00:00
2009-09-04 21:49:37 +00:00
2009-12-21 19:18:27 +00:00
2009-11-17 07:29:35 +00:00
2006-12-27 12:14:56 +00:00
2009-09-07 16:19:32 +00:00
2005-08-07 09:11:38 +00:00
2009-10-15 18:17:29 +00:00