Re: [perl #42947] [PATCH] revise Parrot_get_runtime_prefix API for safety and usablility On Tue, 15 May 2007 05:24:06 -0700
"Paul Cochrane via RT"  wrote:

> On 14/05/07, via RT Mike Mattie 
> wrote:
> > # New Ticket Created by  Mike Mattie
> > # Please include the string:  [perl #42947]
> > # in the subject line of all future correspondence about this issue.
> > # 
> >
> >
> > Hello,
> >
> > This patch changes the Parrot_get_runtime_prefix API from
> >
> > char* Parrot_get_runtime_prefix(Interp *interp, STRING **prefix_str)
> >
> > to
> >
> > STRING* Parrot_get_runtime_prefix (Interp *interp ) {
> >
> > This is done to make the routine safer, it no longer can leak
> > memory. Also the useless "." paths are removed from src/library.c.
> > some minor changes to Parrot_locate_runtime_file_str are present to
> > sync and correct that function.
> >
> > other callers in src/inter_misc.c , and compilers/imcc/main.c are
> > fixed as well.
> >
> > also a case of a bare free() being used instead of the proper
> > mem_sys_free is fixed.
> >
> > This relies on #42944 to apply.
> >
> > Cheers,
> > Mike Mattie - codermattie@gmail.com
> >
> >
> 
> Mike,

my mistake. this should go through now that I have attached it :)

> It seems the patch didn't come through with the email, could you send
> it again?
> 
> Paul
> 
> 
