[flexi-streams-devel] Flexi-streams test suite failing on OpenMCL

Edi Weitz edi at agharta.de
Tue May 22 20:25:57 UTC 2007


On Tue, 22 May 2007 19:13:10 +0100, "Tiarnan O'Corrain" <ocorrain at gmail.com> wrote:

> the SLIME inspector gives me this for the flexi-stream, and
> 1509=0x05e5 which is "HEBREW LETTER FINAL TSADI".  It looks like
> OpenMCL is attempting to read unicode rather than raw bytes.  Hmm...
>
> An object.
>  [type: FLEXI-STREAMS::FLEXI-UTF-8-INPUT-STREAM]
> --------------------
> Class: #<STANDARD-CLASS FLEXI-STREAMS::FLEXI-UTF-8-INPUT-STREAM>
> --------------------
> All Slots:
> CLOSED          = NIL [set value] [make unbound]
> DIRECTION       = :INPUT [set value] [make unbound]
> ELEMENT-TYPE    = CHARACTER [set value] [make unbound]
> EXTERNAL-FORMAT = #<EXTERNAL-FORMAT (:UTF-8 :EOL-STYLE :LF) #x8522FFE>
> [set value] [make unbound]
> LAST-CHAR-CODE  = 1509 [set value] [make unbound]
> LAST-OCTET      = NIL [set value] [make unbound]
> OCTET-STACK     = NIL [set value] [make unbound]
> POSITION        = 3 [set value] [make unbound]
> SHARED-RESOURCE = NIL [set value] [make unbound]
> STREAM          = #<FILE-BINARY-INPUT-STREAM
> ("home:src;site;flexi-streams-0.11.2;test;hebrew_utf8_lf.txt"/8)
> #x856FC86> [set value] [make unbound]

Very strange.  Could you confirm in the inspector that the underlying
stream is really a binary stream with element type (UNSIGNED-BYTE 8)?
And (using the debugger - I think, IIRC, you press v on the top frame)
could you try to find the exact place where the error occurs?

Thanks,
Edi.



More information about the Flexi-streams-devel mailing list