]> Savannah Git Hosting - gnulib.git/commit
getlogin_r: Work around musl bug.
authorBruno Haible <bruno@clisp.org>
Sun, 9 Mar 2025 09:19:20 +0000 (10:19 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 1 Apr 2025 14:28:43 +0000 (16:28 +0200)
commit02c89d98ede5dcb6970da479bfd9fa78095a7cfe
tree7f9a7e5b48a288853338eb5aadf2b9bebc484026
parent4eb716b7571dd678aafc60d8f70e801b61e27e26
getlogin_r: Work around musl bug.

* lib/getlogin_r.c (getlogin_r): Add implementation for Linux.
* m4/getlogin_r.m4 (gl_FUNC_GETLOGIN_R): Test whether getlogin_r has the
musl bug.
* tests/test-getlogin_r.c (main): Add another test.
ChangeLog
lib/getlogin_r.c
m4/getlogin_r.m4
tests/test-getlogin_r.c