summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-14 07:21:58 (GMT)
committerGitHub <noreply@github.com>2023-02-14 07:21:58 (GMT)
commit8be8101bca34b60481ec3d7ecaea4a3379fb7dbb (patch)
treece3ca605afc7ee4c359f2cbc6b5ac9a15257b69f /Misc/NEWS.d
parent928752ce4c23f47d3175dd47ecacf08d86a99c9d (diff)
downloadcpython-8be8101bca34b60481ec3d7ecaea4a3379fb7dbb.zip
cpython-8be8101bca34b60481ec3d7ecaea4a3379fb7dbb.tar.gz
cpython-8be8101bca34b60481ec3d7ecaea4a3379fb7dbb.tar.bz2
gh-101857: Allow xattr detection on musl libc (#101858)
Previously, we checked exclusively for `__GLIBC__` (AND'd with some other conditions). Checking for `__linux__` instead should be fine. This fixes using e.g. `os.listxattr()` on systems using musl libc. Bug: https://bugs.gentoo.org/894130 Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2023-02-12-22-40-22.gh-issue-101857._bribG.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-02-12-22-40-22.gh-issue-101857._bribG.rst b/Misc/NEWS.d/next/Core and Builtins/2023-02-12-22-40-22.gh-issue-101857._bribG.rst
new file mode 100644
index 0000000..832cc30
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2023-02-12-22-40-22.gh-issue-101857._bribG.rst
@@ -0,0 +1 @@
+Fix xattr support detection on Linux systems by widening the check to linux, not just glibc. This fixes support for musl.