diff options
author | Jilles Tjoelker <jilles@FreeBSD.org> | 2009-12-25 20:21:35 +0000 |
---|---|---|
committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2009-12-25 20:21:35 +0000 |
commit | 29d401c22d22df7a3c5247ef9a1d49ba1889053d (patch) | |
tree | 70cc7efa48eb3f1089f61e3030e19359262db521 /bin/sh/mystring.c | |
parent | b1625b09d98ad8e337fdfeb4d3680a3c90750f18 (diff) | |
download | src-29d401c22d22df7a3c5247ef9a1d49ba1889053d.tar.gz src-29d401c22d22df7a3c5247ef9a1d49ba1889053d.zip |
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 .'.
Notes
Notes:
svn path=/head/; revision=200998
Diffstat (limited to 'bin/sh/mystring.c')
0 files changed, 0 insertions, 0 deletions