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

NotFound at svn.parrot.org NotFound at svn.parrot.org
Mon May 18 10:03:44 UTC 2009


Author: NotFound
Date: Mon May 18 10:03:39 2009
New Revision: 38891
URL: https://trac.parrot.org/parrot/changeset/38891

Log:
[core]  partial fix for TT #667, examples/namespace/namespace_dump.pir dies politely instead of segfaulting

Modified:
   trunk/src/pmc/nci.pmc

Modified: trunk/src/pmc/nci.pmc
==============================================================================
--- trunk/src/pmc/nci.pmc	Mon May 18 05:35:29 2009	(r38890)
+++ trunk/src/pmc/nci.pmc	Mon May 18 10:03:39 2009	(r38891)
@@ -118,7 +118,7 @@
     METHOD get_multisig() {
         PMC *sig;
         GET_ATTR_multi_sig(INTERP, SELF, sig);
-        if (sig == PMCNULL)
+        if (PMC_IS_NULL(sig))
             sig = PMCNULL;
         RETURN(PMC *sig);
     }


More information about the parrot-commits mailing list