Ticket #1141 (closed bug: fixed)

Opened 12 years ago

Last modified 12 years ago

Parrot API changes breaks PIRC

Reported by: kjs Owned by: kjs
Priority: major Milestone:
Component: pirc Version: trunk
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: all


in pirc/bcgen.c there is a call to PF_create_default_segs. That function used to take a C string to specify the filename, but that's now a Parrot STRING. PIRC has not been updated to pass a STRING, but still passes a C string. That needs to be fixed.

The short term solution is to get PIRC running again. At this point therefore the easiest thing to do is create a Parrot STRING from the C string using Parrot_str_create(). For some reason I cannot get this working. Help needed!

Long term, but out of the scope of this ticket, is to make PIRC fully STRING aware, meaning that it uses STRINGs only, not C strings.

Change History

Changed 12 years ago by kjs

  • status changed from new to closed
  • resolution set to fixed

issue fixed. I was invoking the non-existent Parrot_str_create function, it should have been Parrot_str_new. (02:00am is not a good time to hack for me).

Note: See TracTickets for help on using tickets.