]> 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:18:06 +0000 (03:18 +0200)
commit82b3dfdee98d8d98adfae2d908420c959f42f76d
treef1112be8296b7cb955933ebf0e1b22540e6efdea
parentd78ccf9edb40c58cc496e00b3da4d78499c54b0b
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