Обсуждение: pgsql: Make win32 builds always do SetEnvironmentVariable() when doing

Поиск
Список
Период
Сортировка

pgsql: Make win32 builds always do SetEnvironmentVariable() when doing

От
mha@postgresql.org (Magnus Hagander)
Дата:
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)