pgsql: Don't call SetEnvironmentVariable() when removing an environment

Lists: pgsql-committers
From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't call SetEnvironmentVariable() when removing an environment
Date: 2009-02-12 12:53:35
Message-ID: [email protected]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/port:
win32env.c (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/win32env.c?r1=1.1&r2=1.2)