Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b0ea426 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am d7f78e88: am e3bdaeb6: am 2765e4fb: Merge "Use sigemptyset to initialise...

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

* commit 'd7f78e88':
  Use sigemptyset to initialise signal mask as it is more portable. Referencing sa_restorer fails on MIPS
parents 2b9998fb d7f78e88
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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 */