OSDN Git Service

Don't call SetEnvironmentVariable() when removing an environment variable,
authorMagnus Hagander <magnus@hagander.net>
Thu, 12 Feb 2009 12:53:34 +0000 (12:53 +0000)
committerMagnus Hagander <magnus@hagander.net>
Thu, 12 Feb 2009 12:53:34 +0000 (12:53 +0000)
commitb31d0719fbd9362564d560f2ea776b50392e41d0
treebcd3a2ecc08b1ebf6d31edbbc21b4d32ddffe12f
parent6d1e36185208d04c72d4550c5b02f6f282c9db4f
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.
src/port/win32env.c