From ae1c7b7a5445962169566e18cf8cfaaa276e0953 Mon Sep 17 00:00:00 2001 From: Alexander Iljin Date: Wed, 25 May 2016 10:18:28 +0300 Subject: [PATCH] io.files.windows: use CreateFileW in open-file for consistency --- basis/io/files/windows/windows.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/io/files/windows/windows.factor b/basis/io/files/windows/windows.factor index b32e637d54..9a7915eadf 100755 --- a/basis/io/files/windows/windows.factor +++ b/basis/io/files/windows/windows.factor @@ -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 )