8000 gh-86009: Fix solaris detection in `_USE_CP_SENDFILE` check (GH-124289) · python/cpython@b169cf3 · GitHub
[go: up one dir, main page]

Skip to content

Commit b169cf3

Browse files
authored
gh-86009: Fix solaris detection in _USE_CP_SENDFILE check (GH-124289)
1 parent f4997bb commit
8000
 b169cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/shutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# This should never be removed, see rationale in:
4949
# https://bugs.python.org/issue43743#msg393429
5050
_USE_CP_SENDFILE = (hasattr(os, "sendfile")
51-
and sys.platform.startswith(("linux", "android", "solaris")))
51+
and sys.platform.startswith(("linux", "android", "sunos")))
5252
_HAS_FCOPYFILE = posix and hasattr(posix, "_fcopyfile") # macOS
5353

5454
# CMD defaults in Windows 10

0 commit comments

Comments
 (0)
0