[svn:parrot] r45530 - branches/immutable_strings_part1/src/string
bacek at svn.parrot.org
bacek at svn.parrot.org
Sat Apr 10 15:15:44 UTC 2010
Author: bacek
Date: Sat Apr 10 15:15:43 2010
New Revision: 45530
URL: https://trac.parrot.org/parrot/changeset/45530
Log:
Fix typo - copy memory into dest, not src.
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 Sat Apr 10 14:44:32 2010 (r45529)
+++ branches/immutable_strings_part1/src/string/api.c Sat Apr 10 15:15:43 2010 (r45530)
@@ -1186,7 +1186,7 @@
mem_sys_memcopy(dest->strstart, src->strstart, start_byte);
/* Copy the replacement in */
- mem_sys_memcopy((char*)src->strstart + start_byte, rep->strstart,
+ mem_sys_memcopy((char*)dest->strstart + start_byte, rep->strstart,
rep->bufused);
/* Copy the end of old string */
More information about the parrot-commits
mailing list