[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.93,1.94
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.93,1.94 |
Date: |
14 Aug 2003 20:02:27 -0000 |
Update of /var/lib/cvs/Games/Pingus/src
In directory dark:/tmp/cvs-serv9156
Modified Files:
pingus_main.cxx
Log Message:
cosmetic change
Index: pingus_main.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/pingus_main.cxx,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- pingus_main.cxx 13 Aug 2003 13:46:39 -0000 1.93
+++ pingus_main.cxx 14 Aug 2003 20:02:25 -0000 1.94
@@ -124,7 +124,8 @@
break;
}
puts ("exit(EXIT_FAILURE);");
- abort();
+ //abort();
+ throw "crash";
}
PingusMain::PingusMain()
@@ -846,17 +847,15 @@
// Register the segfault_handler
#ifndef WIN32
- signal(SIGSEGV, signal_handler);
+ //signal(SIGSEGV, signal_handler);
#endif
//signal(SIGINT, signal_handler);
// Redirect stdout to somewhere where it is readable
- #ifdef WIN32
- #ifdef _DEBUG
+#if defined WIN32 && defined _DEBUG
CL_ConsoleWindow cl_console(PACKAGE VERSION);
cl_console.redirect_stdio();
- #endif
- #endif
+#endif
// Init error/warning/notice streams
pout.add (std::cout);
@@ -910,11 +909,9 @@
deinit_pingus();
deinit_clanlib();
- #ifdef WIN32
- #ifdef _DEBUG
+#if defined WIN32 && defined _DEBUG
cl_console.wait_for_key();
- #endif
- #endif
+#endif
return 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.93,1.94,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src globals.cxx, 1.14, 1.15 pingus_main.cxx, 1.92, 1.93 system.cxx, 1.20, 1.21
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.94,1.95
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src globals.cxx, 1.14, 1.15 pingus_main.cxx, 1.92, 1.93 system.cxx, 1.20, 1.21
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.94,1.95
- Index(es):