[svn:parrot] r45436 - branches/immutable_strings_part1/src/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Apr 7 22:48:54 UTC 2010


Author: bacek
Date: Wed Apr  7 22:48:53 2010
New Revision: 45436
URL: https://trac.parrot.org/parrot/changeset/45436

Log:
Fix usage of long-standing bug with wrong returns from *Handle.encoding functions

Modified:
   branches/immutable_strings_part1/src/pmc/filehandle.pmc
   branches/immutable_strings_part1/src/pmc/stringhandle.pmc

Modified: branches/immutable_strings_part1/src/pmc/filehandle.pmc
==============================================================================
--- branches/immutable_strings_part1/src/pmc/filehandle.pmc	Wed Apr  7 21:16:05 2010	(r45435)
+++ branches/immutable_strings_part1/src/pmc/filehandle.pmc	Wed Apr  7 22:48:53 2010	(r45436)
@@ -644,7 +644,7 @@
         }
 
         GET_ATTR_encoding(INTERP, SELF, encoding);
-        RETURN(STRING *encoding_copy);
+        RETURN(STRING *encoding);
     }
 
 

Modified: branches/immutable_strings_part1/src/pmc/stringhandle.pmc
==============================================================================
--- branches/immutable_strings_part1/src/pmc/stringhandle.pmc	Wed Apr  7 21:16:05 2010	(r45435)
+++ branches/immutable_strings_part1/src/pmc/stringhandle.pmc	Wed Apr  7 22:48:53 2010	(r45436)
@@ -487,7 +487,7 @@
         }
 
         GET_ATTR_encoding(INTERP, SELF, encoding);
-        RETURN(STRING *encoding_copy);
+        RETURN(STRING *encoding);
     }
 
 /*


More information about the parrot-commits mailing list