More BSD fixes from Darius

This commit is contained in:
Joseph Carter 2000-01-03 08:00:46 +00:00
parent 9e73b7ff92
commit 68785812de
3 changed files with 4 additions and 2 deletions

View file

@ -210,7 +210,7 @@ void InitSig(void)
signal(SIGTRAP, signal_handler);
signal(SIGIOT, signal_handler);
signal(SIGBUS, signal_handler);
signal(SIGFPE, signal_handler);
/* signal(SIGFPE, signal_handler); */
signal(SIGSEGV, signal_handler);
signal(SIGTERM, signal_handler);
}

View file

@ -390,7 +390,7 @@ void InitSig(void)
signal(SIGTRAP, signal_handler);
signal(SIGIOT, signal_handler);
signal(SIGBUS, signal_handler);
signal(SIGFPE, signal_handler);
/* signal(SIGFPE, signal_handler); */
signal(SIGSEGV, signal_handler);
signal(SIGTERM, signal_handler);
}

View file

@ -323,6 +323,8 @@ int main (int argc, char **argv)
parms.basedir = ".";
parms.cachedir = NULL;
signal(SIGFPE, SIG_IGN);
COM_InitArgv (argc, argv);
parms.argc = com_argc;