From 3a684fbdcc7cc1381585d5c2c8c27099bf4a1281 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 25 Apr 2010 19:50:16 +0200 Subject: [PATCH] Mention effects of _POSIX_PTHREAD_SEMANTICS on Solaris. --- ChangeLog | 15 +++++++++++++++ doc/posix-functions/asctime_r.texi | 3 +++ doc/posix-functions/ctime_r.texi | 3 +++ doc/posix-functions/getgrgid_r.texi | 3 +++ doc/posix-functions/getgrnam_r.texi | 3 +++ doc/posix-functions/getlogin_r.texi | 3 +++ doc/posix-functions/getpwnam_r.texi | 3 +++ doc/posix-functions/getpwuid_r.texi | 3 +++ doc/posix-functions/readdir_r.texi | 3 +++ doc/posix-functions/sigwait.texi | 3 +++ doc/posix-functions/ttyname_r.texi | 4 ++++ 11 files changed, 46 insertions(+) diff --git a/ChangeLog b/ChangeLog index f80e28549a..1571c78951 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2010-04-25 Bruno Haible + + Mention effects of _POSIX_PTHREAD_SEMANTICS on Solaris. + * doc/posix-functions/asctime_r.texi: Mention the Solaris problem. + * doc/posix-functions/ctime_r.texi: Likewise. + * doc/posix-functions/getgrgid_r.texi: Likewise. + * doc/posix-functions/getgrnam_r.texi: Likewise. + * doc/posix-functions/getlogin_r.texi: Likewise. + * doc/posix-functions/getpwnam_r.texi: Likewise. + * doc/posix-functions/getpwuid_r.texi: Likewise. + * doc/posix-functions/readdir_r.texi: Likewise. + * doc/posix-functions/sigwait.texi: Likewise. + * doc/posix-functions/ttyname_r.texi: Likewise. + Reported by Simon Josefsson. + 2010-04-25 Bruno Haible gnulib-tool: Don't include hairy tests of dependencies in testdirs. diff --git a/doc/posix-functions/asctime_r.texi b/doc/posix-functions/asctime_r.texi index 5702601317..c3464f2d9e 100644 --- a/doc/posix-functions/asctime_r.texi +++ b/doc/posix-functions/asctime_r.texi @@ -16,6 +16,9 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: mingw. @item +This function has an incompatible declaration on some platforms: +Solaris 10 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). +@item This function may put more than 26 bytes into the argument buffer if an invalid year is passed. @end itemize diff --git a/doc/posix-functions/ctime_r.texi b/doc/posix-functions/ctime_r.texi index 58641f63ae..4e186b6d6c 100644 --- a/doc/posix-functions/ctime_r.texi +++ b/doc/posix-functions/ctime_r.texi @@ -16,6 +16,9 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: mingw. @item +This function has an incompatible declaration on some platforms: +Solaris 10 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). +@item This function may put more than 26 bytes into the argument buffer if an invalid year is passed. @end itemize diff --git a/doc/posix-functions/getgrgid_r.texi b/doc/posix-functions/getgrgid_r.texi index 46b5505d7d..f5d40fea0d 100644 --- a/doc/posix-functions/getgrgid_r.texi +++ b/doc/posix-functions/getgrgid_r.texi @@ -15,4 +15,7 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: mingw, BeOS. +@item +This function has an incompatible declaration on some platforms: +Solaris 10 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). @end itemize diff --git a/doc/posix-functions/getgrnam_r.texi b/doc/posix-functions/getgrnam_r.texi index c40b33ed8e..04dd2cfe60 100644 --- a/doc/posix-functions/getgrnam_r.texi +++ b/doc/posix-functions/getgrnam_r.texi @@ -15,4 +15,7 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: mingw, BeOS. +@item +This function has an incompatible declaration on some platforms: +Solaris 10 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). @end itemize diff --git a/doc/posix-functions/getlogin_r.texi b/doc/posix-functions/getlogin_r.texi index c8aef7657b..ba8f52416d 100644 --- a/doc/posix-functions/getlogin_r.texi +++ b/doc/posix-functions/getlogin_r.texi @@ -15,4 +15,7 @@ NetBSD 3.0, mingw. Portability problems not fixed by Gnulib: @itemize +@item +This function has an incompatible declaration on some platforms: +Solaris 10 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). @end itemize diff --git a/doc/posix-functions/getpwnam_r.texi b/doc/posix-functions/getpwnam_r.texi index a3598b6024..66616d58f6 100644 --- a/doc/posix-functions/getpwnam_r.texi +++ b/doc/posix-functions/getpwnam_r.texi @@ -15,4 +15,7 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: OpenBSD 3.8, mingw, BeOS. +@item +This function has an incompatible declaration on some platforms: +Solaris 10 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). @end itemize diff --git a/doc/posix-functions/getpwuid_r.texi b/doc/posix-functions/getpwuid_r.texi index 8d608a9ed3..d38541ca3a 100644 --- a/doc/posix-functions/getpwuid_r.texi +++ b/doc/posix-functions/getpwuid_r.texi @@ -15,4 +15,7 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: OpenBSD 3.8, mingw, BeOS. +@item +This function has an incompatible declaration on some platforms: +Solaris 10 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). @end itemize diff --git a/doc/posix-functions/readdir_r.texi b/doc/posix-functions/readdir_r.texi index f7c51d6f07..bb90c2edfc 100644 --- a/doc/posix-functions/readdir_r.texi +++ b/doc/posix-functions/readdir_r.texi @@ -15,4 +15,7 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: mingw, BeOS. +@item +This function has an incompatible declaration on some platforms: +Solaris 10 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). @end itemize diff --git a/doc/posix-functions/sigwait.texi b/doc/posix-functions/sigwait.texi index 65ccfff808..21fb89d30e 100644 --- a/doc/posix-functions/sigwait.texi +++ b/doc/posix-functions/sigwait.texi @@ -16,6 +16,9 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: mingw, BeOS. @item +This function has an incompatible declaration on some platforms: +Solaris 10 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). +@item On Linux/glibc platforms before the advent of NPTL, signals could only be sent to one particular thread. In POSIX, signals are sent to the entire process and executed by any thread of the process that happens to have the diff --git a/doc/posix-functions/ttyname_r.texi b/doc/posix-functions/ttyname_r.texi index ee25ad618e..ab1d186cad 100644 --- a/doc/posix-functions/ttyname_r.texi +++ b/doc/posix-functions/ttyname_r.texi @@ -8,10 +8,14 @@ Gnulib module: ttyname_r Portability problems fixed by Gnulib: @itemize +@item This function is missing on some platforms: NetBSD 3.0, mingw, BeOS. @end itemize Portability problems not fixed by Gnulib: @itemize +@item +This function has an incompatible declaration on some platforms: +MacOS X 10.4, Solaris 10 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). @end itemize -- 2.30.2