termux-packages/root-packages/libfuse/poll.c.patch
Henrik Grimler 7fe3dab96b
libfuse: add first attempt at package
it probably doesn't work in arm and i686
2022-04-18 14:30:54 +05:30

12 lines
290 B
Diff

--- ../poll.c.orig 2018-10-13 19:17:31.400255853 +0200
+++ ./example/poll.c 2018-10-13 19:19:54.007034483 +0200
@@ -289,7 +289,7 @@
ret = fuse_main(argc, argv, &fsel_oper, NULL);
- pthread_cancel(producer);
+ pthread_kill(producer, 0);
pthread_join(producer, NULL);
return ret;