summaryrefslogtreecommitdiff
path: root/src/porting.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-11 19:33:17 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:38 +0200
commitbfc68d31510bbd40732c19ada51d4683cb050de2 (patch)
tree21ca37b09d78761ae59d84af096a8ff391838a89 /src/porting.cpp
parentee8b6d34447acab3ffb318dc8c070df890c1b810 (diff)
downloadminetest-bfc68d31510bbd40732c19ada51d4683cb050de2.tar.gz
minetest-bfc68d31510bbd40732c19ada51d4683cb050de2.tar.bz2
minetest-bfc68d31510bbd40732c19ada51d4683cb050de2.zip
Scripting WIP
Diffstat (limited to 'src/porting.cpp')
-rw-r--r--src/porting.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/porting.cpp b/src/porting.cpp
index 00595b06c..0adc955a9 100644
--- a/src/porting.cpp
+++ b/src/porting.cpp
@@ -56,9 +56,10 @@ void sigint_handler(int sig)
dstream<<DTIME<<"INFO: sigint_handler(): "
<<"Ctrl-C pressed, shutting down."<<std::endl;
- dstream<<DTIME<<"INFO: sigint_handler(): "
+ // Comment out for less clutter when testing scripts
+ /*dstream<<DTIME<<"INFO: sigint_handler(): "
<<"Printing debug stacks"<<std::endl;
- debug_stacks_print();
+ debug_stacks_print();*/
g_killed = true;
}
@@ -91,9 +92,10 @@ void signal_handler_init(void)
{
dstream<<DTIME<<"INFO: event_handler(): "
<<"Ctrl+C, Close Event, Logoff Event or Shutdown Event, shutting down."<<std::endl;
- dstream<<DTIME<<"INFO: event_handler(): "
+ // Comment out for less clutter when testing scripts
+ /*dstream<<DTIME<<"INFO: event_handler(): "
<<"Printing debug stacks"<<std::endl;
- debug_stacks_print();
+ debug_stacks_print();*/
g_killed = true;
}