io.files.windows: add FILE_FLAG_BACKUP_SEMANTICS to CreateFile-flags
This provides additional access rights if the process has SE_BACKUP_NAME or SE_RESTORE_NAME privileges. Does nothing otherwise.locals-and-roots
							parent
							
								
									043c6984b9
								
							
						
					
					
						commit
						ff26c3d39c
					
				| 
						 | 
				
			
			@ -360,7 +360,7 @@ M: windows normalize-path ( string -- string' )
 | 
			
		|||
    ] if ;
 | 
			
		||||
 | 
			
		||||
M: windows CreateFile-flags ( DWORD -- DWORD )
 | 
			
		||||
    FILE_FLAG_OVERLAPPED bitor ;
 | 
			
		||||
    flags{ FILE_FLAG_BACKUP_SEMANTICS FILE_FLAG_OVERLAPPED } bitor ;
 | 
			
		||||
 | 
			
		||||
<PRIVATE
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue