pgsql: MinGW: Link with shell32.dll instead of shfolder.dll.

Поиск
Список
Период
Сортировка
От Noah Misch
Тема pgsql: MinGW: Link with shell32.dll instead of shfolder.dll.
Дата
Msg-id E1Xgm96-0004sT-Jq@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
MinGW: Link with shell32.dll instead of shfolder.dll.

This improves consistency with the MSVC build.  On buildfarm member
narwhal, since commit 846e91e0223cf9f2821c3ad4dfffffbb929cb027,
shfolder.dll:SHGetFolderPath() crashes when dblink calls it by way of
pqGetHomeDirectory().  Back-patch to 9.4, where that commit first
appeared.  How it caused this regression remains a mystery.  This is a
partial revert of commit 889f03812916b146ae504c0fad5afdc7bf2e8a2a, which
adopted shfolder.dll for Windows NT 4.0 compatibility.  PostgreSQL 8.2
dropped support for that operating system.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/53566fc0940cf557416b13252df57350a4511ce4

Modified Files
--------------
src/Makefile.global.in               |    5 ++---
src/interfaces/ecpg/ecpglib/Makefile |    5 -----
src/interfaces/libpq/Makefile        |    2 +-
src/interfaces/libpq/win32.mak       |    2 +-
src/port/path.c                      |    8 +++++---
5 files changed, 9 insertions(+), 13 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Update expected/sequence_1.out.
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: MinGW: Use -static-libgcc when linking a DLL.