michael@496: Index: boost/test/impl/execution_monitor.ipp michael@496: --- boost/test/impl/execution_monitor.ipp.orig 2009-11-28 10:19:18.000000000 +0100 michael@496: +++ boost/test/impl/execution_monitor.ipp 2011-06-08 21:40:48.000000000 +0200 michael@496: @@ -353,6 +353,7 @@ michael@496: break; michael@496: } michael@496: michael@496: +#if 0 michael@496: switch( m_sig_info->si_signo ) { michael@496: case SIGILL: michael@496: switch( m_sig_info->si_code ) { michael@496: @@ -508,11 +509,13 @@ michael@496: case SIGCHLD: michael@496: switch( m_sig_info->si_code ) { michael@496: #ifndef BOOST_TEST_LIMITED_SIGNAL_DETAILS michael@496: +#ifdef CLD_EXITED michael@496: case CLD_EXITED: michael@496: report_error( execution_exception::system_error, michael@496: "child has exited; pid: %d; uid: %d; exit value: %d", michael@496: (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status ); michael@496: break; michael@496: +#endif michael@496: case CLD_KILLED: michael@496: report_error( execution_exception::system_error, michael@496: "child was killed; pid: %d; uid: %d; exit value: %d", michael@496: @@ -608,6 +611,7 @@ michael@496: default: michael@496: report_error( execution_exception::system_error, "unrecognized signal" ); michael@496: } michael@496: +#endif michael@496: } michael@496: michael@496: //____________________________________________________________________________// michael@496: @@ -817,8 +821,10 @@ michael@496: { michael@496: return info->si_signo == SIGCHLD michael@496: #ifndef BOOST_TEST_LIMITED_SIGNAL_DETAILS michael@496: +#ifdef CLD_EXITED michael@496: && info->si_code == CLD_EXITED michael@496: #endif michael@496: +#endif michael@496: #ifdef BOOST_TEST_IGNORE_NON_ZERO_CHILD_CODE michael@496: ; michael@496: #else