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

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

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
November 4, 2013 22:14
Subject:
[perl #120314] t/re/fold_grind.t spews tons of "Attempt to free temp prematurely" warnings on DEBUGGING but ultimately passes
Message ID:
rt-4.0.18-12353-1383603267-1229.120314-15-0@perl.org
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.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: resolved
https://rt.perl.org/Ticket/Display.html?id=120314

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