diff options
author | Bruno Haible <bruno@clisp.org> | 2021-01-03 20:46:04 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-01-03 20:47:42 +0100 |
commit | 0f9b708209ea4e9575f30f008177fc5496b87152 (patch) | |
tree | ceb4aaf9aeccd79b8b178c19052f1f1b0355e70d /doc/posix-functions | |
parent | 3b840a3ffb7f14a1693506555cfc0dd83a732ec6 (diff) | |
download | gnulib-0f9b708209ea4e9575f30f008177fc5496b87152.tar.gz |
iconv, iconv_open: Improve documentation.
Reported by Noah Misch <noah@leadboat.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00172.html>.
* doc/posix-functions/iconv_open.texi: Add new paragraph "Portability
problems handled by Gnulib".
* doc/posix-functions/iconv.texi: Likewise. Update info about AIX.
* m4/iconv.m4 (AM_ICONV_LINK): Improve comments.
Diffstat (limited to 'doc/posix-functions')
-rw-r--r-- | doc/posix-functions/iconv.texi | 8 | ||||
-rw-r--r-- | doc/posix-functions/iconv_open.texi | 6 |
2 files changed, 13 insertions, 1 deletions
diff --git a/doc/posix-functions/iconv.texi b/doc/posix-functions/iconv.texi index 01e7fd1252..4e1c182b07 100644 --- a/doc/posix-functions/iconv.texi +++ b/doc/posix-functions/iconv.texi @@ -10,9 +10,15 @@ Portability problems fixed by Gnulib: @itemize @item GNU libiconv is not found if installed in @file{$PREFIX/lib}. +@end itemize + +Portability problems handled by Gnulib +(in the sense that @code{HAVE_ICONV} does not get defined if the system's +@code{iconv} function has this problem): +@itemize @item Failures are not distinguishable from successful returns on some platforms: -AIX 5.1, Solaris 10. +AIX 5.1..7.2, Solaris 10. @item A buffer overrun can occur on some platforms: AIX 6.1..7.1. diff --git a/doc/posix-functions/iconv_open.texi b/doc/posix-functions/iconv_open.texi index f46cf98bf2..98f22ae19a 100644 --- a/doc/posix-functions/iconv_open.texi +++ b/doc/posix-functions/iconv_open.texi @@ -10,6 +10,12 @@ Portability problems fixed by either Gnulib module @code{iconv} or @code{iconv_o @itemize @item GNU libiconv is not found if installed in @file{$PREFIX/lib}. +@end itemize + +Portability problems handled by either Gnulib module @code{iconv} or @code{iconv_open} +(in the sense that @code{HAVE_ICONV} does not get defined if the system's +@code{iconv_open} function has this problem): +@itemize @item No converter from EUC-JP to UTF-8 is provided on some platforms: HP-UX 11. |