]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/files/windows/windows.factor
Delete throw-win32-error, replace with win32-error calls
[factor.git] / basis / io / files / windows / windows.factor
index 933c904df1beee2067d16656a4592e6d86b8feda..9aa45989aaf24321d0ca571a5f8d754d4de60953 100644 (file)
@@ -117,7 +117,7 @@ M: windows init-io ( -- )
 : handle>file-size ( handle -- n/f )
     (handle>file-size) [
         GetLastError ERROR_INVALID_FUNCTION =
-        [ f ] [ throw-win32-error ] if
+        [ f ] [ win32-error ] if
     ] unless* ;
 
 ERROR: seek-before-start n ;
@@ -405,7 +405,7 @@ M: windows home
     0
     [ FindFirstStream ] keepd
     over INVALID_HANDLE_VALUE = [
-        2drop throw-win32-error
+        2drop win32-error
     ] [
         1vector swap file-streams-rest
     ] if ;