am 2765e4fb: Merge "Use sigemptyset to initialise signal mask as it is more portable. Referencing sa_restorer fails on MIPS"

* commit '2765e4fb39af2f8260de1177027e292f2a7198bd':
  Use sigemptyset to initialise signal mask as it is more portable. Referencing sa_restorer fails on MIPS
This commit is contained in:
Jean-Baptiste Queru 2012-08-15 09:31:24 -07:00 committed by Android Git Automerger
commit e3bdaeb603
1 changed files with 1 additions and 3 deletions

View File

@ -131,11 +131,9 @@ void signal_init(void)
int s[2];
struct sigaction act;
memset(&act, 0, sizeof(act));
act.sa_handler = sigchld_handler;
act.sa_flags = SA_NOCLDSTOP;
act.sa_mask = 0;
act.sa_restorer = NULL;
sigaction(SIGCHLD, &act, 0);
/* create a signalling mechanism for the sigchld handler */