]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127081: use `getlogin_r` if available (gh-132751)
authorDuane Griffin <duaneg@dghda.com>
Tue, 3 Jun 2025 17:28:58 +0000 (05:28 +1200)
committerGitHub <noreply@github.com>
Tue, 3 Jun 2025 17:28:58 +0000 (13:28 -0400)
commit1ffe913c2017b44804aca18befd45689df06c069
tree5a0bc58d7852d9e9c67e3ede4112ba9bc5dfb904
parent54ca55978e305ebb099d1b49633211597625bd52
gh-127081: use `getlogin_r` if available (gh-132751)

The `getlogin` function is not thread-safe: replace with `getlogin_r` where
available.
Misc/NEWS.d/next/Library/2025-04-21-01-03-15.gh-issue-127081.WXRliX.rst [new file with mode: 0644]
Modules/posixmodule.c
configure
configure.ac
pyconfig.h.in