fix for annoying STL change
This commit is contained in:
@@ -30,8 +30,9 @@ SaveSignals::SaveSignals()
|
|||||||
/* Store the old signal handlers. */
|
/* Store the old signal handlers. */
|
||||||
for(int i = 0; signals[i] != -1; ++i)
|
for(int i = 0; signals[i] != -1; ++i)
|
||||||
{
|
{
|
||||||
old_handlers.push_back();
|
struct sigaction sa;
|
||||||
sigaction(signals[i], NULL, &old_handlers.back());
|
sigaction(signals[i], NULL, &sa);
|
||||||
|
old_handlers.push_back(sa);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user