From 4db3b325d31f02d69be9fe02df3a7f0d2cf1edf8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 20 Dec 2010 12:27:55 +0100 Subject: [PATCH] getlogin_r: Add missing declaration on HP-UX 11. * doc/posix-functions/getlogin_r.texi: Document this workaround. --- ChangeLog | 1 + doc/posix-functions/getlogin_r.texi | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1f3b79865..385df6956 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ getlogin_r: Add missing declaration on HP-UX 11. * m4/getlogin_r.m4 (gl_FUNC_GETLOGIN_R): Test whether getlogin_r is declared also when it exists as a function. + * doc/posix-functions/getlogin_r.texi: Document this workaround. 2010-12-20 Bruno Haible diff --git a/doc/posix-functions/getlogin_r.texi b/doc/posix-functions/getlogin_r.texi index 73ac14865..83a506ff4 100644 --- a/doc/posix-functions/getlogin_r.texi +++ b/doc/posix-functions/getlogin_r.texi @@ -12,6 +12,10 @@ Portability problems fixed by Gnulib: This function is missing on some platforms: NetBSD 3.0, mingw. @item +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 2010-11 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). @end itemize -- 2.11.0