better eof handling in zo-parse
svn: r14252
This commit is contained in:
parent
43443652b8
commit
3b49038947
|
@ -927,7 +927,7 @@
|
|||
|
||||
(define rst (read-bytes size* port))
|
||||
|
||||
(unless (eof-object? (read port))
|
||||
(unless (eof-object? (read-byte port))
|
||||
(error 'not-end))
|
||||
|
||||
(unless (= size* (bytes-length rst))
|
||||
|
|
Loading…
Reference in New Issue
Block a user