From dda91304c22ecf4ca4d937cf21631610b8f608f0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 30 Jan 2012 22:47:22 +0100 Subject: [PATCH] doc about getlogin_r, setstate. * doc/posix-functions/getlogin_r.texi: List the incompatible declaration problem under "not fixed by gnulib". * doc/posix-functions/setstate.texi: Mention incompatible declaration problem on Solaris 11 and other platforms. --- ChangeLog | 8 ++++++++ doc/posix-functions/getlogin_r.texi | 6 +++--- doc/posix-functions/setstate.texi | 3 +++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index be64d3cd4..b002884d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-01-29 Bruno Haible + + doc about getlogin_r, setstate. + * doc/posix-functions/getlogin_r.texi: List the incompatible + declaration problem under "not fixed by gnulib". + * doc/posix-functions/setstate.texi: Mention incompatible declaration + problem on Solaris 11 and other platforms. + 2012-01-29 Chuanchang Jia (tiny change) Bruno Haible diff --git a/doc/posix-functions/getlogin_r.texi b/doc/posix-functions/getlogin_r.texi index 2fed2f519..6efb9771e 100644 --- a/doc/posix-functions/getlogin_r.texi +++ b/doc/posix-functions/getlogin_r.texi @@ -16,9 +16,6 @@ This function is not declared unless @code{_REENTRANT} is defined, on some platforms: HP-UX 11. @item -This function has an incompatible declaration on some platforms: -Solaris 11 2011-11 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). -@item This function returns a truncated result, instead of failing with error code @code{ERANGE}, when the buffer is not large enough, on some platforms: OSF/1 5.1. @@ -27,6 +24,9 @@ OSF/1 5.1. Portability problems not fixed by Gnulib: @itemize @item +This function has an incompatible declaration on some platforms: +Solaris 11 2011-11 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). +@item This function fails even when standard input is a tty on some platforms: HP-UX 11.11. @item diff --git a/doc/posix-functions/setstate.texi b/doc/posix-functions/setstate.texi index 085253e40..54f28e11b 100644 --- a/doc/posix-functions/setstate.texi +++ b/doc/posix-functions/setstate.texi @@ -15,4 +15,7 @@ Solaris 2.4, mingw, MSVC 9. Portability problems not fixed by Gnulib: @itemize +@item +This function has a slightly incompatible declaration (the argument type being +@samp{const char *} instead of @samp(char *}) on some platforms. @end itemize -- 2.11.0