Jilles Tjoelker 6e28dacfda Don't skip forking for an external command if any traps are active.
Example:
  sh -c '(trap "echo trapped" EXIT; sleep 3)'
now correctly prints "trapped".

With this check, it is no longer necessary to check for -T
explicitly in that case.

This is a useful bugfix by itself and also important because I plan to
skip forking more often.

PR:		bin/113860 (part of)
PR:		bin/74404 (part of)
Reviewed by:	stefanf
Approved by:	ed (mentor)
2009-06-13 21:10:41 +00:00
..
2009-01-30 16:23:57 +00:00
2006-12-18 15:45:01 +00:00
2007-03-04 19:52:07 +00:00
2007-03-04 09:15:12 +00:00
2009-04-13 15:29:14 +00:00
2006-12-27 11:28:00 +00:00
2006-12-27 12:14:56 +00:00
2005-08-07 09:11:38 +00:00