]> 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, 25 Nov 2019 15:06:59 +0000 (07:06 -0800)
basis/io/files/windows/windows.factor

index 684d8f13d7613d27cec83b39fa773b83c72ccd91..0531551b60c0f49499b769a44471abd5da1b98ed 100644 (file)
@@ -399,7 +399,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