]> gitweb.factorcode.org Git - factor.git/commitdiff
io.files.windows: replace "-1 <alien>" with INVALID_HANDLE_VALUE
authorAlexander Iljin <ajsoft@yandex.ru>
Tue, 24 May 2016 17:40:11 +0000 (20:40 +0300)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 6 Jan 2020 21:18:33 +0000 (13:18 -0800)
basis/io/files/windows/windows.factor

index 0045e984297c795357bf4324ef64ea499cbfa699..933c904df1beee2067d16656a4592e6d86b8feda 100644 (file)
@@ -404,7 +404,7 @@ M: windows home
     WIN32_FIND_STREAM_DATA <struct>
     0
     [ FindFirstStream ] keepd
-    over -1 <alien> = [
+    over INVALID_HANDLE_VALUE = [
         2drop throw-win32-error
     ] [
         1vector swap file-streams-rest