]> 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)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Jul 2024 21:15:14 +0000 (14:15 -0700)
commit8f292d0931b1e1f7c5a063bd400ff9dabb3897ff
treea84c422237c5972eeb1778076c468831e276d07c
parent061dc63b007727fce3f46d0a42355c5de11d403d
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
doc/posix-functions/strnlen.texi
m4/strnlen.m4