develooper Front page | perl.perl6.internals | Postings from January 2002

[PATCH] tidy up JIT temporaries

Thread Previous
From:
Nicholas Clark
Date:
January 21, 2002 15:15
Subject:
[PATCH] tidy up JIT temporaries
Message ID:
20020121231219.GH1726@Bagpuss.unfortu.net
On Mon, Jan 21, 2002 at 09:00:48PM +0000, Nicholas Clark wrote:
> I'm not certain that putting the test in Configure.pl is the right place
> for it, but I do believe that having an accurate MANIFEST.SKIP and the
> ability to run 
> 
> perl -MExtUtils::Manifest -e ExtUtils::Manifest::fullcheck
> 
> (possibly as a Makefile target) is useful.

If MANIFEST.SKIP is thought worthy, then the appended piece of tidying up is
a good idea.

Nicholas Clark
-- 
ETAXMANUNHAPPY http://www.ccl4.org/~nick/CV.html

--- Parrot/Jit/i386Generic.pm~	Sun Jan 20 20:52:23 2002
+++ Parrot/Jit/i386Generic.pm	Mon Jan 21 20:25:25 2002
@@ -110,6 +110,7 @@
 
     write_as($assembler,TMP_AS);
     assemble(TMP_AS, TMP_OBJ);
+    unlink TMP_AS or warn "Could not unlink " . TMP_AS . ": $!";
     return disassemble(TMP_OBJ,\@special_arg,\@special,$ln);
 }
             

Thread Previous


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