Revert "windows.errors: make check-invalid-handle throw windows-error instances"
This reverts commit 38ab7289b5
.
fix-linux
parent
75e98b4bc3
commit
0625b85b47
|
@ -744,7 +744,7 @@ ERROR: windows-error n string ;
|
||||||
win32-error-string throw ;
|
win32-error-string throw ;
|
||||||
|
|
||||||
: check-invalid-handle ( handle -- handle )
|
: check-invalid-handle ( handle -- handle )
|
||||||
dup INVALID_HANDLE_VALUE = [ win32-error ] when ;
|
dup INVALID_HANDLE_VALUE = [ throw-win32-error ] when ;
|
||||||
|
|
||||||
CONSTANT: expected-io-errors
|
CONSTANT: expected-io-errors
|
||||||
${
|
${
|
||||||
|
|
Loading…
Reference in New Issue