File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ namespace UnitTest {
28
28
sigaction ( SIGFPE, &action, &m_old_SIGFPE_action );
29
29
sigaction ( SIGTRAP, &action, &m_old_SIGTRAP_action );
30
30
sigaction ( SIGBUS, &action, &m_old_SIGBUS_action );
31
- sigaction ( SIGILL, &action, &m_old_SIGBUS_action );
31
+ sigaction ( SIGILL, &action, &m_old_SIGILL_action );
32
32
}
33
33
34
34
SignalTranslator::~SignalTranslator ()
35
35
{
36
- sigaction ( SIGILL, &m_old_SIGBUS_action , 0 );
36
+ sigaction ( SIGILL, &m_old_SIGILL_action , 0 );
37
37
sigaction ( SIGBUS, &m_old_SIGBUS_action, 0 );
38
38
sigaction ( SIGTRAP, &m_old_SIGTRAP_action, 0 );
39
39
sigaction ( SIGFPE, &m_old_SIGFPE_action, 0 );
Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ namespace UnitTest {
22
22
struct sigaction m_old_SIGTRAP_action;
23
23
struct sigaction m_old_SIGSEGV_action;
24
24
struct sigaction m_old_SIGBUS_action;
25
- struct sigaction m_old_SIGABRT_action;
26
- struct sigaction m_old_SIGALRM_action;
25
+ struct sigaction m_old_SIGILL_action;
27
26
};
28
27
29
28
#if !defined (__GNUC__)
You can’t perform that action at this time.
0 commit comments