Browse Source

kdesktop: Add missing initialization of sigset_t in kdesktop_lock. This resolves bug 3025.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/42/head
Slávek Banko 3 months ago
parent
commit
e47bab3fd8
Signed by: Michele Calgaro <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      kdesktop/lock/main.cc

+ 1
- 0
kdesktop/lock/main.cc View File

@@ -243,6 +243,7 @@ int main( int argc, char **argv )
sigset_t orig_mask;

// Block reception of all signals in this thread
sigfillset(&new_mask);
sigprocmask(SIG_BLOCK, &new_mask, NULL);

signalled_forcelock = FALSE;

Loading…
Cancel
Save