Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit95b9b8a

Browse files
committed
Make pgwin32_putenv() visit debug CRTs.
This has no effect in the most conventional case, where no relevant DLLuses a debug build. For an example where it does matter, given a debugbuild of MIT Kerberos, the krb_server_keyfile parameter usually had noeffect. Since nobody wants a Heisenbug, back-patch to 9.2 (allsupported versions).Christian Ullrich, reviewed by Michael Paquier.
1 parentb37da1e commit95b9b8a

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)

[8]ページ先頭

©2009-2025 Movatter.jp