fix win32 error handling

db4
Doug Coleman 2009-04-30 13:11:51 -05:00
parent 64ac2bae6d
commit 31ce2252e7
1 changed files with 1 additions and 1 deletions

View File

@ -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 ;