Don't call SetEnvironmentVariable() when removing an environment variable,

Magnus Hagander <magnus@hagander.net>

Commit: b31d0719fbd9362564d560f2ea776b50392e41d0
Author: Magnus Hagander <magnus@hagander.net>
Date: 2009-02-12T12:53:34Z
Releases: 8.4.0
Don't call SetEnvironmentVariable() when removing an environment variable,
as this seems to crash on at least some versions of MingW. Our current usage
of this function does not require it, so it should be ok to ignore.

Files

PathChange+/−
src/port/win32env.c modified +12 −6