fix stream-read1 on win32
parent
a2a0c4bc6e
commit
e35e99e575
|
@ -90,11 +90,15 @@ M: string do-write ( string stream -- )
|
|||
dup win32-stream-eof? [
|
||||
drop t
|
||||
] [
|
||||
dup win32-stream-file-size [
|
||||
[
|
||||
dup win32-stream-file-size
|
||||
swap win32-stream-fileptr
|
||||
- zero?
|
||||
] keep set-win32-stream-eof?
|
||||
] [
|
||||
drop
|
||||
] if
|
||||
f
|
||||
] if ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue