[Issue 1423] Registry: corrupted value
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 29 06:38:01 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1423
------- Comment #2 from keystuffs at netscape.net 2007-08-29 08:37 -------
I was able to fix this bug:
in the function Reg_QueryValue_, I just added a .dup
case REG_VALUE_TYPE.REG_EXPAND_SZ:
value = std.string.toString(cast(char*)data);
value = value.dup; // fix the bug.
break;
--
More information about the Digitalmars-d-bugs
mailing list