This repository has been archived on 2023-10-09 . You can view files and clone it, but cannot push or open issues or pull requests.
				
			
		
		
		
			
				
					
						
					
					973f95fa9dfb21e4347a510f119c55b9673f6076
				
			
			
		
	Issue was caused by _wstat returning EOVERFLOW error because of file size didn't fit into stat structure which was using long datatype. The idea of this patch is to use _wstat64 and _stat64 structure which is capable storing 64bit file sizes. Made it a typedef for stat structure used by BLI_stat function in order to make code easier to follow and avoid ifdefs all over the place. Additionally solved issue with BLI_exists which was wrongly returning False in cases destination file is larger then 4GB.
Description
				Archive of Blender with old branches
						
						
						
					Languages
				
				
								
								
									C
								
								67.4%
							
						
							
								
								
									C++
								
								23.4%
							
						
							
								
								
									Python
								
								6.1%
							
						
							
								
								
									CMake
								
								1.5%
							
						
							
								
								
									GLSL
								
								1.1%
							
						
							
								
								
									Other
								
								0.4%