- Make sure sa_mask is set

This commit is contained in:
Matt Johnston
2012-02-21 22:57:19 +08:00
parent aaa72ddbfc
commit a3188b44f0
2 changed files with 2 additions and 0 deletions

View File

@@ -137,6 +137,7 @@ static void sesssigchild_handler(int UNUSED(dummy)) {
sa_chld.sa_handler = sesssigchild_handler;
sa_chld.sa_flags = SA_NOCLDSTOP;
sa_chld.sa_mask = 0;
sigaction(SIGCHLD, &sa_chld, NULL);
TRACE(("leave sigchld handler"))
}