From: Bruno Haible Date: Mon, 20 Dec 2010 11:27:55 +0000 (+0100) Subject: getlogin_r: Add missing declaration on HP-UX 11. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4db3b325d31f02d69be9fe02df3a7f0d2cf1edf8;p=pspp getlogin_r: Add missing declaration on HP-UX 11. * doc/posix-functions/getlogin_r.texi: Document this workaround. --- diff --git a/ChangeLog b/ChangeLog index 1f3b79865b..385df69568 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 73ac148655..83a506ff4b 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