From b19433a961e6b10c112e98f2b9d3184bb8d091bd Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 11 Jan 2023 20:39:55 +0100 Subject: perror: Fix "perror clobbers strerror's buffer" problem on Android. * m4/perror.m4 (gl_FUNC_PERROR): Set REPLACE_PERROR to 1 on Android. * doc/posix-functions/perror.texi: Mention the Android problem. --- doc/posix-functions/perror.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/posix-functions/perror.texi b/doc/posix-functions/perror.texi index bbc2925d60..4c4a7e36dd 100644 --- a/doc/posix-functions/perror.texi +++ b/doc/posix-functions/perror.texi @@ -18,7 +18,7 @@ requires that the message declare it as a success, on some platforms: FreeBSD 8.2, OpenBSD 4.7, macOS 11.1. @item This function clobbers the @code{strerror} buffer on some platforms: -Cygwin 1.7.9. +Cygwin 1.7.9, Android 11. @item This function fails to print a useful a string for out-of-range integers on some platforms: -- cgit v1.2.1