Bug report: IllegalStateException, when reading after rewinding

Mark Evenson evenson at panix.com
Thu Oct 1 22:36:40 UTC 2020



> On Sep 30, 2020, at 22:59, Mark Evenson <evenson at panix.com> wrote:
> 
> 
> 
>> On Sep 30, 2020, at 03:01, Robert Munyer <2433647181 at munyer.com> wrote:
>> 
>> (with-open-file (in "hello.text")
>>             (list (read in)
>>                   (read in nil)
>>                   (file-position in :start)
>>                   (read in)))
> 
> Reproduced and filed as [ticket 473][1].
> 
> [1]: https://abcl.org/trac/ticket/473

Fixed with <https://abcl.org/trac/changeset/15386> aka <https://github.com/armedbear/abcl/pull/304>.

There is still probably a bit of wonkiness with reading unicode, and I have noticed that FLEXI-STREAMS fails some tests, but at least FILE-POSITION should be expected to work.

Thanks for the succint bug report!

-- 
"A screaming comes across the sky.  It has happened before but there is nothing 
to compare to it now."








More information about the armedbear-devel mailing list