]> Savannah Git Hosting - gnulib.git/commit
strnlen: port to Android 5.0 (API 21)
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Jul 2024 21:14:55 +0000 (14:14 -0700)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jul 2024 01:33:54 +0000 (03:33 +0200)
commit944bec5ef1471ca52a640cd681a45abcdb46a2a3
treebdb301e68d69be80a1cbac2b7e6a7909418c2535
parentf3fa26a2bc440f793644cfd86d3afe5627f46550
strnlen: port to Android 5.0 (API 21)

This is needed for GNU Emacs, which attempts to port to these
old Android versions.
* m4/strnlen.m4 (AC_FUNC_STRNLEN): Replace if Autoconf 2.72 or
earlier, with code that detects the Android problem with strnlen.
This version works around some further bugs in the test, notably,
misplaced 'volatile' and need for volatile in the AIX 4.3 bug
check too.
ChangeLog
m4/strnlen.m4