io.files.windows: use CreateFileW in open-file for consistency
parent
7a94230899
commit
ae1c7b7a54
|
@ -229,7 +229,7 @@ M: windows init-stdio
|
|||
: open-file ( path access-mode create-mode flags -- handle )
|
||||
[
|
||||
[ share-mode default-security-attributes ] 2dip
|
||||
CreateFile-flags f CreateFile opened-file
|
||||
CreateFile-flags f CreateFileW opened-file
|
||||
] with-destructors ;
|
||||
|
||||
: open-r/w ( path -- win32-file )
|
||||
|
|
Loading…
Reference in New Issue