[svn:parrot] r45681 - branches/immutable_strings_part1/src/string
bacek at svn.parrot.org
bacek at svn.parrot.org
Thu Apr 15 11:07:00 UTC 2010
Author: bacek
Date: Thu Apr 15 11:06:59 2010
New Revision: 45681
URL: https://trac.parrot.org/parrot/changeset/45681
Log:
Revert previous commit. It causes some problem with building PGE.
Modified:
branches/immutable_strings_part1/src/string/api.c
Modified: branches/immutable_strings_part1/src/string/api.c
==============================================================================
--- branches/immutable_strings_part1/src/string/api.c Thu Apr 15 10:06:36 2010 (r45680)
+++ branches/immutable_strings_part1/src/string/api.c Thu Apr 15 11:06:59 2010 (r45681)
@@ -326,7 +326,7 @@
{
ASSERT_ARGS(Parrot_str_clone)
- STRING *result = Parrot_gc_new_string_header(interp, 0);
+ STRING *result = Parrot_str_copy(interp, s);
size_t alloc_size = s->bufused;
/* Clear COW flag. We own buffer */
More information about the parrot-commits
mailing list