K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-09-02T21:57:46.284890Z K 7 svn:log V 440 sh: Fix race condition with signals and wait or set -T. The change in r238888 was incomplete. It was still possible for a trapped signal to arrive before the shell went to sleep (sigsuspend()) because a check was missing or because the signal arrived before in_waitcmd was set. On SMP, this bug sometimes caused the builtins/wait4.0 test to take 1 second to execute; it then might or might not fail. On UP, the test almost always failed. END