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 )
|
: open-file ( path access-mode create-mode flags -- handle )
|
||||||
[
|
[
|
||||||
[ share-mode default-security-attributes ] 2dip
|
[ share-mode default-security-attributes ] 2dip
|
||||||
CreateFile-flags f CreateFile opened-file
|
CreateFile-flags f CreateFileW opened-file
|
||||||
] with-destructors ;
|
] with-destructors ;
|
||||||
|
|
||||||
: open-r/w ( path -- win32-file )
|
: open-r/w ( path -- win32-file )
|
||||||
|
|
Loading…
Reference in New Issue