forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita62d90f
committed
Revert "Blind attempt to fix _configthreadlocale() failures on MinGW."
This reverts commit2cf91cc.When using the old msvcrt.dll, MinGW would supply its own dummy versionof _configthreadlocale() that just returns -1 if you try to use it. Fora time we tolerated that to shut the build farm up. We would fall backto code that was enough for the tests to pass, but it would surely haverisked crashing a real multithreaded program.We don't need that kludge anymore, because we can count on ucrt. Weexpect the real _configthreadlocale() to be present, and the ECPG testswill now fail if it isn't. The workaround was dead code and it's timeto revert it.(A later patch still under review proposes to remove this use of_configthreadlocale() completely but we're unwinding this code insteps.)Reviewed-by: Peter Eisentraut <peter@eisentraut.org>Discussion:https://postgr.es/m/d9e7731c-ca1b-477c-9298-fa51e135574a%40eisentraut.org1 parent1758d42 commita62d90f
2 files changed
+10
-12
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
512 | 512 |
| |
513 | 513 |
| |
514 | 514 |
| |
515 |
| - | |
| 515 | + | |
516 | 516 |
| |
517 | 517 |
| |
518 | 518 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1977 | 1977 |
| |
1978 | 1978 |
| |
1979 | 1979 |
| |
1980 |
| - | |
1981 |
| - | |
1982 |
| - | |
| 1980 | + | |
1983 | 1981 |
| |
1984 | 1982 |
| |
1985 | 1983 |
| |
| |||
1997 | 1995 |
| |
1998 | 1996 |
| |
1999 | 1997 |
| |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
2000 | 2003 |
| |
2001 | 2004 |
| |
2002 | 2005 |
| |
| |||
2218 | 2221 |
| |
2219 | 2222 |
| |
2220 | 2223 |
| |
| 2224 | + | |
2221 | 2225 |
| |
2222 | 2226 |
| |
2223 |
| - | |
2224 |
| - | |
2225 |
| - | |
2226 |
| - | |
2227 |
| - | |
2228 |
| - | |
2229 |
| - | |
2230 |
| - | |
| 2227 | + | |
2231 | 2228 |
| |
| 2229 | + | |
2232 | 2230 |
| |
2233 | 2231 |
| |
2234 | 2232 |
| |
|
0 commit comments
Comments
(0)