Re: Android/Termux pthread_cancel

2018-05-10 Thread Bruno Haible
Paul Eggert wrote: > To simplify this sort of thing in the future, I suggest that Gnulib drop > support for IRIX The simplification would not have been big: IRIX is just one among 12 platforms. The issue here was that we attempted to have a unique code for all 12 platforms, and this requires a s

Re: Android/Termux pthread_cancel

2018-05-10 Thread Paul Eggert
Wow, thanks for doing all that work. To simplify this sort of thing in the future, I suggest that Gnulib drop support for IRIX, as IRIX has no user community outside of computer museums and SGI has not supported it since 2013. (Had we dropped IRIX support already, your email would have been ha

Re: Android/Termux pthread_cancel

2018-05-10 Thread Paul Eggert
On 05/10/2018 12:23 PM, Devin Hussey wrote: It seems to work. I don't know why, but it works. Thanks for letting me know. I'll CC: this to bug-gnulib so that Bruno Haible knows the patch works for you.

Re: Android/Termux pthread_cancel

2018-05-10 Thread Paul Eggert
Devin Hussey wrote: regexec.c calls lock_unlock, which is a macro that calls, from glthread/lock.h glthread_lock_lock, which calls pthread_in_use, which is defined as (pthread_cancel != NULL). Thanks for the explanation. Does the attached Gnulib patch fix things for you? >From 927d36f6cdbda0

Re: Android/Termux pthread_cancel

2018-05-09 Thread Paul Eggert
On 05/08/2018 08:27 PM, Devin Hussey wrote: Hello, I noticed a bit of an issue with Gnulib and Android when trying to compile nano on Termux. Android, and by extension, Termux, is missing pthread_cancel, pthread_testcancel, pthread_setcancelstate, and pthread_setcanceltype. A workaround is i

Android/Termux pthread_cancel

2018-05-09 Thread Devin Hussey
Hello, I noticed a bit of an issue with Gnulib and Android when trying to compile nano on Termux. Android, and by extension, Termux, is missing pthread_cancel, pthread_testcancel, pthread_setcancelstate, and pthread_setcanceltype. A workaround is in https://github.com/cSploit/android.native/blob/