on test5 because of a wrong exit code; fixed that.
sim/main.cc:
No need to ignore SIGPIPE, as far as I know.
sim/sim_events.cc:
A CountedExitEvent is a normal termination, so
should have an exit code of 0.
--HG--
extra : convert_revision :
8b5072aca54f3ca08b2815b73ac01c00e4da49b6
myProgName = argv[0];
signal(SIGFPE, SIG_IGN); // may occur on misspeculated paths
- signal(SIGPIPE, SIG_IGN);
signal(SIGTRAP, SIG_IGN);
signal(SIGUSR1, dumpStatsHandler); // dump intermediate stats
signal(SIGUSR2, dumprstStatsHandler); // dump and reset stats
CountedExitEvent::process()
{
if (--downCounter == 0) {
- new SimExitEvent(cause, 1);
+ new SimExitEvent(cause, 0);
}
}