bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc tweak


From: Bruno Haible
Subject: doc tweak
Date: Mon, 30 Jan 2012 22:47:33 +0100
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

Two gcc warnings in the unit tests pointed me to function declarations
incompatible to POSIX in the Solaris 11 2011-11 header files.


2012-01-29  Bruno Haible  <address@hidden>

        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.

--- doc/posix-functions/getlogin_r.texi.orig    Mon Jan 30 22:43:31 2012
+++ doc/posix-functions/getlogin_r.texi Mon Jan 30 22:10:34 2012
@@ -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).
address@hidden
 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).
address@hidden
 This function fails even when standard input is a tty on some platforms:
 HP-UX 11.11.
 @item
--- doc/posix-functions/setstate.texi.orig      Mon Jan 30 22:43:31 2012
+++ doc/posix-functions/setstate.texi   Mon Jan 30 22:08:03 2012
@@ -15,4 +15,7 @@
 
 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+This function has a slightly incompatible declaration (the argument type being
address@hidden char *} instead of @samp(char *}) on some platforms.
 @end itemize




reply via email to

[Prev in Thread] Current Thread [Next in Thread]