fix win32 error handling
parent
64ac2bae6d
commit
31ce2252e7
|
@ -105,7 +105,7 @@ M: winnt seek-handle ( n seek-type handle -- )
|
|||
GetLastError {
|
||||
{ [ dup expected-io-error? ] [ drop f ] }
|
||||
{ [ dup eof? ] [ drop t ] }
|
||||
[ win32-error-string throw ]
|
||||
[ n>win32-error-string throw ]
|
||||
} cond
|
||||
] [ f ] if ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue