# HG changeset patch # User Bruno Haible # Date 1327960042 -3600 # Node ID 0897647bdf1470224cfa53f3abeeb7fa8cee92e7 # Parent 46aabacf4f151351dffe836da5a4a060ba1bc95c 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. diff --git a/ChangeLog b/ChangeLog --- 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 --- a/doc/posix-functions/getlogin_r.texi +++ b/doc/posix-functions/getlogin_r.texi @@ -16,9 +16,6 @@ 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 @@ 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 --- a/doc/posix-functions/setstate.texi +++ b/doc/posix-functions/setstate.texi @@ -15,4 +15,7 @@ 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