Catch SIGCHLD in OsBlockSignals() too to make sure this signal doesn't

intercept reading the authority file (Fabian Franz, Bugzilla #3137).
This commit is contained in:
Egbert Eich 2005-04-27 15:42:15 +00:00
parent 246b14cb29
commit e4b33f4e91

View File

@ -1664,6 +1664,9 @@ OsBlockSignals (void)
#endif
#ifdef SIGTTOU
sigaddset (&set, SIGTTOU);
#endif
#ifdef SIGCHLD
sigaddset (&set, SIGCHLD);
#endif
sigprocmask (SIG_BLOCK, &set, &PreviousSignalMask);
}