develooper Front page | perl.perl5.porters | Postings from November 2013

Re: [perl #120314] t/re/fold_grind.t spews tons of "Attempt to freetemp prematurely" warnings on DEBUGGING but ultimately passes

Thread Previous | Thread Next
From:
Peter Martini
Date:
November 4, 2013 22:19
Subject:
Re: [perl #120314] t/re/fold_grind.t spews tons of "Attempt to freetemp prematurely" warnings on DEBUGGING but ultimately passes
Message ID:
CAFyW6MQbEadDqtJsPVfn26AHRrUJWwJEfzFsGKYWwbS8cqkr=Q@mail.gmail.com
On Mon, Nov 4, 2013 at 5:14 PM, Father Chrysostomos via RT
<perlbug-followup@perl.org> wrote:
> On Sun Nov 03 19:34:31 2013, pcm wrote:
>> Attached is a patch showing what I mean, but I don't have a suitable
>> environment to test the actual NSGETEXECUTABLEPATH bit, so I can't
>> promise I didn't make any fatal typos :-)  (There shouldn't be any
>> differences between the code taken out of perl.c and put into caretx.c
>> other than the location).  Also, completely at a loss for a Tolkien
>> quote.
>
> Two observations:
>
> • Linking fails if a global function is within #ifdef PERL_IN_PERL_C
>   in embed.fnc.  (I don’t know why.)
> • Including stdbool.h explicitly in caretx.c is unnecessary, as
>   mach-o/dyld.h does it itself.
>
> I squashed the attached patch with yours and applied it as e20515321.
>
> I also added a comment explaining the bool pitfall that caretx.c
> exists to avoid (c9a047cb).
>
> And then I managed to get hold of a copy of LOTR and add a quote
> (7d0878889f), but I would appreciate it if someone could supply the
> page number.
>
> Thank you.
>

Thank you for all of those fixups :-)

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About