23 May
2015
23 May
'15
2 p.m.
The C runtime getenv/_putenv functions actually maintain two separate copies of the environment, one narrow, one wide.
... and those appear to be distinct from the OS environment block that SetEnvironmentVariable modifies. So that makes three (or maybe four) copies in total. It's fun for the whole family.