[svn:parrot] r48314 - branches/gc_massacre/src/string/charset
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Wed Aug 4 12:13:02 UTC 2010
Author: mikehh
Date: Wed Aug 4 12:13:01 2010
New Revision: 48314
URL: https://trac.parrot.org/parrot/changeset/48314
Log:
[gc_massacre] fix g++ errors wrt charset - still other problems
Modified:
branches/gc_massacre/src/string/charset/ascii.c
branches/gc_massacre/src/string/charset/iso-8859-1.c
Modified: branches/gc_massacre/src/string/charset/ascii.c
==============================================================================
--- branches/gc_massacre/src/string/charset/ascii.c Wed Aug 4 11:15:02 2010 (r48313)
+++ branches/gc_massacre/src/string/charset/ascii.c Wed Aug 4 12:13:01 2010 (r48314)
@@ -267,7 +267,9 @@
{
ASSERT_ARGS(compose)
- return src;
+ STRING * const dest = Parrot_str_copy(interp, src);
+
+ return dest;
}
/*
@@ -287,7 +289,9 @@
{
ASSERT_ARGS(decompose)
- return src;
+ STRING * const dest = Parrot_str_copy(interp, src);
+
+ return dest;
}
/*
Modified: branches/gc_massacre/src/string/charset/iso-8859-1.c
==============================================================================
--- branches/gc_massacre/src/string/charset/iso-8859-1.c Wed Aug 4 11:15:02 2010 (r48313)
+++ branches/gc_massacre/src/string/charset/iso-8859-1.c Wed Aug 4 12:13:01 2010 (r48314)
@@ -283,7 +283,9 @@
{
ASSERT_ARGS(compose)
- return src;
+ STRING * const dest = Parrot_str_copy(interp, src);
+
+ return dest;
}
/*
More information about the parrot-commits
mailing list