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
Alexander Iljin 2016-05-25 10:22:55 +03:00 committed by Doug Coleman
parent 043c6984b9
commit ff26c3d39c
1 changed files with 1 additions and 1 deletions

View File

@ -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