changeset 13964:4375e072858f

getlogin_r: Add missing declaration on HP-UX 11. * doc/posix-functions/getlogin_r.texi: Document this workaround.
author Bruno Haible <bruno@clisp.org>
date Mon, 20 Dec 2010 12:27:55 +0100
parents e1862c329298
children 9cc6c6504486
files ChangeLog doc/posix-functions/getlogin_r.texi
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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>
 
--- a/doc/posix-functions/getlogin_r.texi
+++ b/doc/posix-functions/getlogin_r.texi
@@ -12,6 +12,10 @@
 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