Better error handling for safe_sigaction

release
Doug Coleman 2007-12-04 15:47:26 -06:00
parent de0051e0f3
commit 9c79dc1fa7
1 changed files with 3 additions and 0 deletions

View File

@ -219,6 +219,9 @@ static void sigaction_safe(int signum, const struct sigaction *act, struct sigac
ret = sigaction(signum, act, oldact);
}
while(ret == -1 && errno == EINTR);
if(ret == -1)
fatal_error("sigaction failed", 0);
}
void unix_init_signals(void)