--- ../../cache/calcurse-4.1.0/src/io.c 2016-03-27 12:26:18.000000000 +0200 +++ ./src/io.c 2016-05-09 00:00:16.402558225 +0200 @@ -1430,4 +1430,3 @@ void io_stop_psave_thread(void) io_save_mutex_lock(); - pthread_cancel(io_t_psave); - pthread_join(io_t_psave, NULL); + pthread_kill(io_t_psave, 0); io_save_mutex_unlock();