27 | | sigaction( SIGSEGV, &action, &m_old_SIGSEGV_action ); |
28 | | sigaction( SIGFPE , &action, &m_old_SIGFPE_action ); |
29 | | sigaction( SIGTRAP, &action, &m_old_SIGTRAP_action ); |
30 | | sigaction( SIGBUS , &action, &m_old_SIGBUS_action ); |
31 | | sigaction( SIGILL , &action, &m_old_SIGBUS_action ); |
| 25 | sigaction ( SIGSEGV, &action, &m_old_SIGSEGV_action ); |
| 26 | sigaction ( SIGFPE , &action, &m_old_SIGFPE_action ); |
| 27 | sigaction ( SIGTRAP, &action, &m_old_SIGTRAP_action ); |
| 28 | sigaction ( SIGBUS , &action, &m_old_SIGBUS_action ); |
| 29 | sigaction ( SIGILL , &action, &m_old_SIGBUS_action ); |
34 | | SignalTranslator::~SignalTranslator() |
35 | | { |
36 | | sigaction( SIGILL , &m_old_SIGBUS_action , 0 ); |
37 | | sigaction( SIGBUS , &m_old_SIGBUS_action , 0 ); |
38 | | sigaction( SIGTRAP, &m_old_SIGTRAP_action, 0 ); |
39 | | sigaction( SIGFPE , &m_old_SIGFPE_action , 0 ); |
40 | | sigaction( SIGSEGV, &m_old_SIGSEGV_action, 0 ); |
| 32 | SignalTranslator::~SignalTranslator() { |
| 33 | sigaction ( SIGILL , &m_old_SIGBUS_action , 0 ); |
| 34 | sigaction ( SIGBUS , &m_old_SIGBUS_action , 0 ); |
| 35 | sigaction ( SIGTRAP, &m_old_SIGTRAP_action, 0 ); |
| 36 | sigaction ( SIGFPE , &m_old_SIGFPE_action , 0 ); |
| 37 | sigaction ( SIGSEGV, &m_old_SIGSEGV_action, 0 ); |