mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	gh-86009: Fix solaris detection in _USE_CP_SENDFILE check (GH-124289)
				
					
				
			This commit is contained in:
		
							parent
							
								
									f4997bb3ac
								
							
						
					
					
						commit
						b169cf394f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -48,7 +48,7 @@ | |||
| # This should never be removed, see rationale in: | ||||
| # https://bugs.python.org/issue43743#msg393429 | ||||
| _USE_CP_SENDFILE = (hasattr(os, "sendfile") | ||||
|                     and sys.platform.startswith(("linux", "android", "solaris"))) | ||||
|                     and sys.platform.startswith(("linux", "android", "sunos"))) | ||||
| _HAS_FCOPYFILE = posix and hasattr(posix, "_fcopyfile")  # macOS | ||||
| 
 | ||||
| # CMD defaults in Windows 10 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jakub Kulík
						Jakub Kulík