pgsql: Make win32 builds always do SetEnvironmentVariable() when doing - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Make win32 builds always do SetEnvironmentVariable() when doing
Date
Msg-id 20090121103002.D76257559ED@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Make win32 builds always do SetEnvironmentVariable() when doing putenv().
Also, if linked against other versions than the default MSVCRT library
(for example the MSVC build which links against MSVCRT80), also update
the cache in the default MSVCRT at the same time.

This should fix the issues with setting LC_MESSAGES on the MSVC build.

Original patch from Hiroshi Inoue and Hiroshi Saito, much rewritten
by me.

Modified Files:
--------------
    pgsql:
        configure (r1.628 -> r1.629)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.628&r2=1.629)
        configure.in (r1.587 -> r1.588)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure.in?r1=1.587&r2=1.588)
    pgsql/src/backend/utils/adt:
        pg_locale.c (r1.45 -> r1.46)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/pg_locale.c?r1=1.45&r2=1.46)
    pgsql/src/include/port:
        win32.h (r1.85 -> r1.86)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port/win32.h?r1=1.85&r2=1.86)
    pgsql/src/tools/msvc:
        Mkvcbuild.pm (r1.35 -> r1.36)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/Mkvcbuild.pm?r1=1.35&r2=1.36)

Added Files:
-----------
    pgsql/src/port:
        win32env.c (r1.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/win32env.c?rev=1.1&content-type=text/x-cvsweb-markup)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Make some strings translatable again that were accidentally
Next
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Add new SPI_OK_REWRITTEN return code to SPI_execute and friends,