On 6/30/24 12:14, Po Lu wrote:
I think there should be a trivial test for a functional strnlen in strnlen.m4
Please feel free to write that. It's not something that would be easy for me to do, as I don't know Android. Also, I don't know that it'd be that trivial, as it might involve replacing the AC_FUNC_STRNLEN macro of Autoconf (and we should propagate that fix into Autoconf as well), but I could give advice about the non-Android part of any fix.
As I wrote earlier, although I hope we don't need to worry about the small number of users still running Android 5.0, if it's important to support free software on those platforms we can do so.