Ticket #2040 (closed bug: fixed)

Opened 11 years ago

Last modified 11 years ago

load_ bytecode with a unicode string fails

Reported by: jonathan Owned by: nwellnhof
Priority: normal Milestone:
Component: core Version: 3.1.0
Severity: high Keywords:
Cc: Language:
Patch status: applied Platform: all


If you pass in a unicode string to load_bytecode, it calls parrot_split_path_ext with that string, which in turn tries to use rindex, which ends up in src/string/encoding/shared.c's encoding_rindex...which is not implemented. Not so good.

Change History

Changed 11 years ago by nwellnhof

  • owner set to nwellnhof
  • status changed from new to assigned
  • platform changed from win32 to all

I implemented rindex for Unicode strings in 2a8444840859d8c1c28a. Can you give it a try?

Changed 11 years ago by dukeleto

  • status changed from assigned to closed
  • resolution set to fixed
  • patch set to applied

The tests that were added pass. Closing this ticket.

Note: See TracTickets for help on using tickets.