Catch SIGIOT

This commit is contained in:
Michiel Broek
2007-09-02 11:17:31 +00:00
parent 47c36d204f
commit 8d4cf65939
16 changed files with 51 additions and 17 deletions

View File

@@ -149,7 +149,7 @@ int main(int argc, char *argv[])
*/
for(i = 0; i < NSIG; i++) {
if ((i == SIGINT) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV) || (i == SIGTERM))
if ((i == SIGINT) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV) || (i == SIGTERM) || (i == SIGIOT))
signal(i, (void (*))die);
else if (i == SIGCHLD)
signal(i, SIG_DFL);