mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 14:42:06 +00:00
More BSD fixes from Darius
This commit is contained in:
parent
9e73b7ff92
commit
68785812de
3 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue