mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
sys.[ch]:
handle SIGFPE and allow the registered signal handler to do recovery rather than bail progs.h, pr_exec.c, pr_load.c: if pr_faultchecks is 1 (0 is default), handle division by 0 gracefully by loading the maximum representable number into the answer Closes: #58 the rest: kill the SIGFPE stuff
This commit is contained in:
parent
8cf5c9a430
commit
836c469737
10 changed files with 70 additions and 44 deletions
|
@ -249,6 +249,7 @@ extern struct cvar_s *pr_debug;
|
|||
extern struct cvar_s *pr_deadbeef_ents;
|
||||
extern struct cvar_s *pr_deadbeef_locals;
|
||||
extern struct cvar_s *pr_boundscheck;
|
||||
extern struct cvar_s *pr_faultchecks;
|
||||
|
||||
extern const char *pr_gametype;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue