aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/mystring.c
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2009-12-25 20:21:35 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2009-12-25 20:21:35 +0000
commit29d401c22d22df7a3c5247ef9a1d49ba1889053d (patch)
tree70cc7efa48eb3f1089f61e3030e19359262db521 /bin/sh/mystring.c
parentb1625b09d98ad8e337fdfeb4d3680a3c90750f18 (diff)
downloadsrc-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