[Teleus-cvs] teleus/src/game main.cpp,1.4,1.5
Status: Inactive
Brought to you by:
spiffgq
|
From: Daniel R. <sp...@us...> - 2004-05-25 21:13:27
|
Update of /cvsroot/teleus/teleus/src/game In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29276/src/game Modified Files: main.cpp Log Message: Installed UNIX signal handler for sigsegv Index: main.cpp =================================================================== RCS file: /cvsroot/teleus/teleus/src/game/main.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** main.cpp 25 Feb 2004 02:19:50 -0000 1.4 --- main.cpp 25 May 2004 21:13:14 -0000 1.5 *************** *** 28,31 **** --- 28,32 ---- #include <ctime> #include <string> + #include <signal.h> #include "tnamespace.hpp" *************** *** 53,57 **** int main (int argc, char *argv[]){ ! #warning Set the segfault handler printWarning (); --- 54,59 ---- int main (int argc, char *argv[]){ ! //#warning Set the segfault handler ! signal (SIGSEGV, handler); printWarning (); |