/* Prepare for the select - allow certain signals. */
BlockSignals(False, SIGTERM);
-#if defined(SIGUSR1)
- BlockSignals(False, SIGUSR1);
-#endif /* SIGUSR1 */
-#if defined(SIGUSR2)
- BlockSignals(False, SIGUSR2);
-#endif /* SIGUSR2 */
selrtn = sys_select_intr(FD_SETSIZE,&fds,&timeout);
/* We can only take signals when we are in the select - block them again here. */
BlockSignals(True, SIGTERM);
-#if defined(SIGUSR1)
- BlockSignals(True, SIGUSR1);
-#endif /* SIGUSR1 */
-#if defined(SIGUSR2)
- BlockSignals(True, SIGUSR2);
-#endif /* SIGUSR2 */
if(selrtn > 0)
{