From 0c4342cb67e62f981c654c5fa830bd76cc3bd68f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 26 Jan 2019 11:56:31 +0100 Subject: ttyname_r: Work around bug on Android 4.3. * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Test whether ttyname_r is a stub. * lib/ttyname_r.c (ttyname_r): Implement for Android. * doc/posix-functions/ttyname_r.texi: Mention the Android bug. * doc/posix-functions/ttyname.texi: Likewise. --- doc/posix-functions/ttyname.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/posix-functions/ttyname.texi') diff --git a/doc/posix-functions/ttyname.texi b/doc/posix-functions/ttyname.texi index df5c387ac4..5b9ff5aee2 100644 --- a/doc/posix-functions/ttyname.texi +++ b/doc/posix-functions/ttyname.texi @@ -15,4 +15,8 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: mingw, MSVC 14. +@item +This function is just a stub that produces an error message on standard error +on some platforms: +Android 4.3. @end itemize -- cgit v1.2.1