Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8122 in orxonox.OLD for branches/osx/src/util


Ignore:
Timestamp:
Jun 2, 2006, 5:46:11 PM (19 years ago)
Author:
ponder
Message:

Md2loader seems to work

Location:
branches/osx/src/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/osx/src/util/signal_handler.cc

    r7791 r8122  
    4646void SignalHandler::catchSignal( int sig )
    4747{
    48   sighandler_t handler = signal( sig, SignalHandler::sigHandler );
     48  sig_t handler = signal( sig, SignalHandler::sigHandler );
    4949
    5050  assert( handler != SIG_ERR );
     
    5959void SignalHandler::sigHandler( int sig )
    6060{
     61
    6162  std::string sigName = "UNKNOWN";
    62 
     63 
    6364  switch ( sig )
    6465  {
     
    8384  if ( pid == 0 )
    8485  {
    85     getInstance()->dontCatch();
    86 
     86        getInstance()->dontCatch();     
    8787    sleep(2);
    88 
    8988
    9089    return;
  • branches/osx/src/util/signal_handler.h

    r7791 r8122  
    1111
    1212
    13 
     13#define GDB_BT_FILE "orxonox.backtrace"
    1414enum GdbRunType{
    1515  GDB_RUN_WRITE_TO_FILE = 1,
     
    2424{
    2525  int signal;
    26   sighandler_t handler;
     26  sig_t handler;
    2727};
    2828
Note: See TracChangeset for help on using the changeset viewer.