1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 06:27:06 +00:00
termux-packages/packages/calcurse/src-notify.c.patch
2019-03-01 21:53:04 +01:00

14 lines
411 B
Diff

diff -u -r ../calcurse-4.4.0/src/notify.c ./src/notify.c
--- ../calcurse-4.4.0/src/notify.c 2019-01-18 22:38:58.000000000 +0000
+++ ./src/notify.c 2019-03-01 20:45:55.019585998 +0000
@@ -196,8 +196,7 @@
if (pthread_equal(notify_t_main, pthread_self()))
return;
- pthread_cancel(notify_t_main);
- pthread_join(notify_t_main, NULL);
+ pthread_kill(notify_t_main, 0);
notify_t_main = pthread_self();
}