Skip to content

Commit 95b9b8a

Browse files
committed
Make pgwin32_putenv() visit debug CRTs.
This has no effect in the most conventional case, where no relevant DLL uses a debug build. For an example where it does matter, given a debug build of MIT Kerberos, the krb_server_keyfile parameter usually had no effect. Since nobody wants a Heisenbug, back-patch to 9.2 (all supported versions). Christian Ullrich, reviewed by Michael Paquier.
1 parent b37da1e commit 95b9b8a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/port/win32env.c

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,57 @@ pgwin32_putenv(const char *envval)
4040
{
4141
"msvcrt", NULL, NULL
4242
}, /* Visual Studio 6.0 / MinGW */
43+
{
44+
"msvcrtd", NULL, NULL
45+
},
4346
{
4447
"msvcr70", NULL, NULL
4548
}, /* Visual Studio 2002 */
49+
{
50+
"msvcr70d", NULL, NULL
51+
},
4652
{
4753
"msvcr71", NULL, NULL
4854
}, /* Visual Studio 2003 */
55+
{
56+
"msvcr71d", NULL, NULL
57+
},
4958
{
5059
"msvcr80", NULL, NULL
5160
}, /* Visual Studio 2005 */
61+
{
62+
"msvcr80d", NULL, NULL
63+
},
5264
{
5365
"msvcr90", NULL, NULL
5466
}, /* Visual Studio 2008 */
67+
{
68+
"msvcr90d", NULL, NULL
69+
},
5570
{
5671
"msvcr100", NULL, NULL
5772
}, /* Visual Studio 2010 */
73+
{
74+
"msvcr100d", NULL, NULL
75+
},
5876
{
5977
"msvcr110", NULL, NULL
6078
}, /* Visual Studio 2012 */
79+
{
80+
"msvcr110d", NULL, NULL
81+
},
6182
{
6283
"msvcr120", NULL, NULL
6384
}, /* Visual Studio 2013 */
85+
{
86+
"msvcr120d", NULL, NULL
87+
},
6488
{
6589
"ucrtbase", NULL, NULL
6690
}, /* Visual Studio 2015 and later */
91+
{
92+
"ucrtbased", NULL, NULL
93+
},
6794
{
6895
NULL, NULL, NULL
6996
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy