summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-01-12 16:51:15 +0100
committerBruno Haible <bruno@clisp.org>2023-01-12 16:51:15 +0100
commit2886cca8398f4c5a4d68368a19c0e6d0ff97c739 (patch)
treed6cd45115b52ff36fa55aa96dd87622de1bd5dfa /doc
parentb95dc47291b5890653bc75169b1d38b5760ca1ea (diff)
downloadgnulib-2886cca8398f4c5a4d68368a19c0e6d0ff97c739.tar.gz
error: Work around an Android problem.
* lib/error.in.h: Renamed from lib/error.h. (_GL_ATTRIBUTE_SPEC_PRINTF_ERROR): New macro. (error): Consider HAVE_ERROR and REPLACE_ERROR. (error_at_line): Consider HAVE_ERROR_AT_LINE and REPLACE_ERROR_AT_LINE. * m4/error_h.m4: New file, partially based on m4/error.m4. * m4/error.m4 (gl_ERROR): Remove the test for error_at_line. * modules/error-h: New file. * modules/error (Files): Remove lib/error.h. (Depends-on): Add error-h. Update conditions. (configure.ac): Require gl_ERROR_H. Update condition. * doc/glibc-headers/error.texi: Mention the 'error-h' module. * doc/glibc-functions/error.texi: Mention the Android problem. * config/srclist.txt: Add comment regarding error.h.
Diffstat (limited to 'doc')
-rw-r--r--doc/glibc-functions/error.texi4
-rw-r--r--doc/glibc-headers/error.texi2
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/glibc-functions/error.texi b/doc/glibc-functions/error.texi
index e0977925b6..c7d63ac42b 100644
--- a/doc/glibc-functions/error.texi
+++ b/doc/glibc-functions/error.texi
@@ -24,6 +24,10 @@ Portability problems fixed by Gnulib:
@item
This function is missing on many non-glibc platforms:
macOS 11.1, FreeBSD 13.0, NetBSD 9.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 1.7.9, mingw, MSVC 14, Android 5.1.
+@item
+This function outputs an extra space if @code{error_print_progname} is set,
+on some platforms:
+Android 11.
@end itemize
Portability problems not fixed by Gnulib:
diff --git a/doc/glibc-headers/error.texi b/doc/glibc-headers/error.texi
index 96a9a14664..4e0ccbffaa 100644
--- a/doc/glibc-headers/error.texi
+++ b/doc/glibc-headers/error.texi
@@ -18,7 +18,7 @@ Documentation:
@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/error.3.html,,man error}.
@end itemize
-Gnulib module: error
+Gnulib module: error-h
Portability problems fixed by Gnulib:
@itemize