getlogin_r: Add missing declaration on HP-UX 11.
authorBruno Haible <bruno@clisp.org>
Mon, 20 Dec 2010 11:27:55 +0000 (12:27 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 20 Dec 2010 11:27:55 +0000 (12:27 +0100)
* doc/posix-functions/getlogin_r.texi: Document this workaround.

ChangeLog
doc/posix-functions/getlogin_r.texi

index 1f3b798..385df69 100644 (file)
--- 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  <bruno@clisp.org>
 
index 73ac148..83a506f 100644 (file)
@@ -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