Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8293 in orxonox.OLD for trunk/src/util


Ignore:
Timestamp:
Jun 8, 2006, 11:11:37 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the osX-branche back here
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/osx . -r7763:HEAD

conflicts resolved, and everything is working as expected (or at least i hope so :) )

Location:
trunk/src/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/signal_handler.cc

    r8228 r8293  
    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 );
     
    6363    (*(it->cb))( it->someData );
    6464  }
     65
     66  std::string sigName = "UNKNOWN";
    6567 
    66   std::string sigName = "UNKNOWN";
    67 
    6868  switch ( sig )
    6969  {
     
    9090  {
    9191    getInstance()->dontCatch();
    92    
    9392    sleep(2);
    9493
  • trunk/src/util/signal_handler.h

    r8228 r8293  
    1010#include <string>
    1111
     12
    1213#define GDB_BT_FILE "orxonox.backtrace"
    13 
    1414enum GdbRunType{
    1515  GDB_RUN_WRITE_TO_FILE = 1,
     
    2525{
    2626  int signal;
    27   sighandler_t handler;
     27  sig_t handler;
    2828};
    2929
Note: See TracChangeset for help on using the changeset viewer.