[Issue 4681] Appender access violation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 26 04:56:59 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4681
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
--- Comment #10 from Steven Schveighoffer <schveiguy at yahoo.com> 2010-08-26 04:56:47 PDT ---
I checked in hopefully a fix for this.
changeset http://www.dsource.org/projects/phobos/changeset/1929
Note, I changed the interface of Appender slightly to be safer. Instead of
taking an array reference pointer, it takes an array. This means your original
array passed in will *not* be appended to. To get the resulting data after
appending, use the data method.
I didn't find any cases in Phobos that were adversely affected by this change
(but I did have to change a few modules that used appender in unit tests).
I tested the new version against the original code in this bug, and Don's code
in comment 8, both no longer exhibit errors.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list