fixed resize; removed more statics

This commit is contained in:
Dominik Maier
2020-03-19 21:32:08 +01:00
parent b6fa63abdf
commit b22e890ec2
6 changed files with 16 additions and 208 deletions

View File

@ -1787,7 +1787,7 @@ void fix_up_sync(afl_state_t *afl) {
static void handle_resize(int sig) {
LIST_FOREACH(&afl_states, afl_state_t, { el->clear_screen; });
LIST_FOREACH(&afl_states, afl_state_t, { el->clear_screen = 1; });
}
@ -2125,11 +2125,6 @@ void setup_signal_handlers(void) {
sigaction(SIGINT, &sa, NULL);
sigaction(SIGTERM, &sa, NULL);
/* Exec timeout notifications. */
sa.sa_handler = handle_timeout;
sigaction(SIGALRM, &sa, NULL);
/* Window resize */
sa.sa_handler = handle_resize;