[svn:parrot] r36307 - trunk/src/pmc

NotFound at svn.parrot.org NotFound at svn.parrot.org
Tue Feb 3 00:44:30 UTC 2009


Author: NotFound
Date: Tue Feb  3 00:44:30 2009
New Revision: 36307
URL: https://trac.parrot.org/parrot/changeset/36307

Log:
commented out temporarily the code inserted in r36305

Modified:
   trunk/src/pmc/parrotinterpreter.pmc

Modified: trunk/src/pmc/parrotinterpreter.pmc
==============================================================================
--- trunk/src/pmc/parrotinterpreter.pmc	Tue Feb  3 00:19:08 2009	(r36306)
+++ trunk/src/pmc/parrotinterpreter.pmc	Tue Feb  3 00:44:30 2009	(r36307)
@@ -30,8 +30,11 @@
 #include "parrot/dynext.h"
 #include "pmc_class.h"
 
+/* Cancelling this until better solution */
+#if 0
 /* This is a quick hack to test the stdhandle feature */
 #include "../../src/io/io_private.h"
+#endif
 
 /*
 
@@ -740,11 +743,14 @@
 
     METHOD stdhandle(INTVAL fileno, PMC *newhandle :optional) {
         PMC * handle = PMCNULL;
+/* Temporarily disabled */
+#if 0
         if (fileno >= PIO_STDIN_FILENO && fileno <= PIO_STDERR_FILENO) {
             handle = interp->piodata->table[fileno];
             if (!PMC_IS_NULL(newhandle))
                 interp->piodata->table[fileno] = newhandle;
         }
+#endif
         RETURN(PMC *handle);
     }
 


More information about the parrot-commits mailing list