No subject
Sat May 2 20:29:37 PDT 2009
"The string passed in line may be reused between calls to the delegate."
This means you can't keep a copy of a line around after the current iteration
without duplicating it, because it'll get overwritten.
Changing the last line of your file-reading loop to "data[line.dup]++;" fixes
the problem you're seeing.
--
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