Euphoria
Ticket #164:
Replace realloc error
-
Reported by
mattlewis
Jun 05, 2010
In some cases the code for replace() does not realloc enough memory, causing a crash.
Details
1. Comment by mattlewis
Jun 05, 2010
svn:3239 fixed the back end and also changed the point of the code where this problem was found (in shift.e) to use slicing and concatenating in an attempt to allow a smooth update path if need be. The original problem was found while merging the coverage branch into the trunk, at which point translation broke.
svn:3240 reverts shift.e to use replace(), since it is much faster.