Ticket #65 (closed bug: fixed)
load_bytecode only accepts ascii filenames
Reported by: | pmichaud | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Here's the test case:
$ cat x1.pir .sub 'load' :load say 'hello from x1.pir' .end $ cat x2.pir .sub 'main' $S0 = iso-8859-1:"x1.pir" load_bytecode $S0 .end $ ./parrot x2.pir Cross-charset index not supported current instr.: 'main' pc 3 (x2.pir:3) $
The exception comes from ascii_cs_rindex, which doesn't like searching for a trailing '/' in a non-ascii string.
Pm
Change History
Note: See
TracTickets for help on using
tickets.