]> Savannah Git Hosting - gnulib.git/commitdiff
getlogin: document musl bug
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 8 Mar 2025 23:36:33 +0000 (15:36 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 8 Mar 2025 23:37:33 +0000 (15:37 -0800)
Problem reported by Nicolas Boos <https://bugs.gnu.org/76876>.

ChangeLog
doc/posix-functions/getlogin.texi
doc/posix-functions/getlogin_r.texi

index 33a13bf438af2c84d92a7d41ec9a737eabf91db2..89940ddd4c4c4b939231e239368a1d118f2c4479 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-03-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       getlogin: document musl bug
+       Problem reported by Nicolas Boos <https://bugs.gnu.org/76876>.
+
 2025-03-07  Bruno Haible  <bruno@clisp.org>
 
        gocomp-script: Avoid error on native Windows.
index ddb0b9aae11b8bbe3e8c3ed86dbdc1b85ec13c6b..0de026f2ee7d1553724e2a27df8c306484c0e3cd 100644 (file)
@@ -20,6 +20,9 @@ mingw.
 Portability problems not fixed by Gnulib:
 @itemize
 @item
+This function returns the value of the @env{LOGNAME} environment variable:
+musl libc 1.2.5.
+@item
 This function returns an empty string even when standard input is a tty
 on some platforms:
 HP-UX 11.11.
index f92d6c24b17832883e6d0c1c8538c86cc68957b0..daafd9eaa01cbbfa4690b1d5da2d1a7269c6d9eb 100644 (file)
@@ -28,6 +28,9 @@ Portability problems not fixed by Gnulib:
 This function has an incompatible declaration on some platforms:
 FreeBSD 12.0, MidnightBSD 2.0, Solaris 11.4 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined).
 @item
+This function returns the value of the @env{LOGNAME} environment variable:
+musl libc 1.2.5.
+@item
 This function fails even when standard input is a tty on some platforms:
 HP-UX 11.11.
 @item