[svn:parrot] r49115 - branches/gc_massacre/src/packfile

bacek at svn.parrot.org bacek at svn.parrot.org
Fri Sep 17 23:49:57 UTC 2010


Author: bacek
Date: Fri Sep 17 23:49:57 2010
New Revision: 49115
URL: https://trac.parrot.org/parrot/changeset/49115

Log:
Fix r48994

Modified:
   branches/gc_massacre/src/packfile/pf_items.c

Modified: branches/gc_massacre/src/packfile/pf_items.c
==============================================================================
--- branches/gc_massacre/src/packfile/pf_items.c	Fri Sep 17 23:49:41 2010	(r49114)
+++ branches/gc_massacre/src/packfile/pf_items.c	Fri Sep 17 23:49:57 2010	(r49115)
@@ -1341,7 +1341,7 @@
             Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_UNIMPLEMENTED,
                     "Invalid encoding number '%d' specified", encoding_nr);
 
-    if (size || (encoding != CONST_STRING(interp, "")->encoding->num))
+    if (size || (encoding != CONST_STRING(interp, "")->encoding))
         s = Parrot_str_new_init(interp, (const char *)*cursor, size,
                 encoding, flags);
     else


More information about the parrot-commits mailing list