Import new eloop
authorRoy Marples <roy@marples.name>
Wed, 13 May 2015 02:01:42 +0000 (02:01 +0000)
committerRoy Marples <roy@marples.name>
Wed, 13 May 2015 02:01:42 +0000 (02:01 +0000)
src/dhcpcd-curses/eloop.c

index 1a472af2c2bae74812d4865502f082d32b53c7a3..458dd29e4a9ad2f5e179b21020ca2fadd52745bd 100644 (file)
@@ -579,8 +579,6 @@ eloop_signal_mask(struct eloop *eloop, sigset_t *oldset)
        assert(eloop != NULL);
 
        sigfillset(&newset);
-       if (oldset)
-               sigemptyset(oldset);
        if (sigprocmask(SIG_SETMASK, &newset, oldset) == -1)
                return -1;