projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d0e13
)
changed signal handling to not catch Ctrl-C anymore
author
Holger Schemel
<info@artsoft.org>
Tue, 8 Dec 2015 11:34:53 +0000
(12:34 +0100)
committer
Holger Schemel
<info@artsoft.org>
Tue, 8 Dec 2015 11:34:53 +0000
(12:34 +0100)
src/libgame/system.c
patch
|
blob
|
history
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index b04cd9b57ed29d47e9146face31efc909461d213..b5e4f270c284fbde5d20661d1fb7322fb6b81fcd 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-118,7
+118,7
@@
void InitExitFunction(void (*exit_function)(int))
program.exit_function = exit_function;
/* set signal handlers to custom exit function */
- signal(SIGINT, exit_function);
+
//
signal(SIGINT, exit_function);
signal(SIGTERM, exit_function);
/* set exit function to automatically cleanup SDL stuff after exit() */