[PATCH] Possible fix for execcapable

Andy Dougherty doughera at lafayette.edu
Wed Feb 11 16:11:53 UTC 2009


I don't have time to test this, but the following patch fixes what looks 
like an oversight in a recent grand-renaming in config/auto/jit.pm.  I'd 
appreciate it if someone could test this, and, if appropriate, apply it.

Thanks,

diff -r -u parrot-cc/config/auto/jit.pm parrot-andy/config/auto/jit.pm
--- parrot-current/config/auto/jit.pm	2009-02-01 20:44:28.000000000 -0500
+++ parrot-andy/config/auto/jit.pm	2009-02-11 09:58:05.000000000 -0500
@@ -113,7 +113,7 @@
     _handle_execcapable($conf, $execcapable);
 
     # test for executable malloced memory
-    if ( -e "config/auto/jit/test_exec_$osname.in" ) {
+    if ( -e "config/auto/jit/test_exec_${osname}_c.in" ) {
         print " (has_exec_protect " if $verbose;
         $conf->cc_gen("config/auto/jit/test_exec_${osname}_c.in");
         eval { $conf->cc_build(); };

-- 
    Andy Dougherty		doughera at lafayette.edu



More information about the parrot-dev mailing list