]> granicus.if.org Git - postgresql/commit
MinGW: Link with shell32.dll instead of shfolder.dll.
authorNoah Misch <noah@leadboat.com>
Wed, 22 Oct 2014 02:55:43 +0000 (22:55 -0400)
committerNoah Misch <noah@leadboat.com>
Wed, 22 Oct 2014 02:56:28 +0000 (22:56 -0400)
commit9e02e20ab6df093e1ab751157dfb5c51a420187b
tree8fe6006b2fe6f3d63cce52ed49393bb1930a7e53
parent7a14edb83e1c5c3c683cf0c8a90870e3bda9d22c
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.
src/Makefile.global.in
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/libpq/Makefile
src/interfaces/libpq/win32.mak
src/port/path.c