]> 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>
Sun, 9 Mar 2025 09:19:20 +0000 (10:19 +0100)
commit0bca572030d26721cb81800ff4264b6f18dc7e40
tree2c214f4ad29371b7c0e05dede12699b4457f02c4
parent90840606e77dd24d87ad7f075d8f87c0ed814ef5
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.
* doc/posix-functions/getlogin_r.texi: Mention the workaround.
ChangeLog
doc/posix-functions/getlogin_r.texi
lib/getlogin_r.c
m4/getlogin_r.m4
tests/test-getlogin_r.c