places, creating a subprocess: reset SIGCHLD correctly

This commit is contained in:
Matthew Flatt 2011-05-09 07:24:55 -06:00
parent a60bfe9b7f
commit 5b2492eda6

View File

@ -646,7 +646,7 @@ void scheme_places_unblock_child_signal() XFORM_SKIP_PROC
{
sigset_t set;
MZ_SIGSET(SIGCHLD, SIG_IGN);
MZ_SIGSET(SIGCHLD, SIG_DFL);
sigemptyset(&set);
sigaddset(&set, SIGCHLD);