[Issue 18425] std.process environment["VAR"] = "NAME" does not always take effect

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 16 15:44:32 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18425

--- Comment #4 from Rainer Schuetze <r.sagitario at gmx.de> ---
> Was this a hand-copied typo, or was there a typo in the original?

Ooops. Typo is in the test only. The result with DFLAGS is the same, though.

> I looked at the code, and it's very complex, so I don't know that it's worth trying to fix.

We could do the same as for posix: call the C runtime instead of
SetEnvironmentVariable. Both dmc and VC have _wputenv

--


More information about the Digitalmars-d-bugs mailing list