[svn:parrot] r45607 - branches/immutable_strings_part1/src/io

bacek at svn.parrot.org bacek at svn.parrot.org
Mon Apr 12 11:59:24 UTC 2010


Author: bacek
Date: Mon Apr 12 11:59:23 2010
New Revision: 45607
URL: https://trac.parrot.org/parrot/changeset/45607

Log:
Update *buf after reading utf8 chunk from IO.

Modified:
   branches/immutable_strings_part1/src/io/utf8.c

Modified: branches/immutable_strings_part1/src/io/utf8.c
==============================================================================
--- branches/immutable_strings_part1/src/io/utf8.c	Mon Apr 12 11:39:43 2010	(r45606)
+++ branches/immutable_strings_part1/src/io/utf8.c	Mon Apr 12 11:59:23 2010	(r45607)
@@ -88,6 +88,7 @@
                 s            = Parrot_str_append(interp, s, s2);
                 /* String is updated. Poke into iterator to replace old string */
                 iter.str     = s;
+                *buf         = s;
                 len         += len2 + 1;
 
                 /* check last char */


More information about the parrot-commits mailing list