changeset 16336:0897647bdf14

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.
author Bruno Haible <bruno@clisp.org>
date Mon, 30 Jan 2012 22:47:22 +0100
parents 46aabacf4f15
children c2b40a7e8e30
files ChangeLog doc/posix-functions/getlogin_r.texi doc/posix-functions/setstate.texi
diffstat 3 files changed, 14 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-01-29  Bruno Haible  <bruno@clisp.org>
+
+	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  <chuanchang.jia@gmail.com>  (tiny change)
 	    Bruno Haible  <bruno@clisp.org>
 
--- 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
--- 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