Commit 2cf91cc
committed
Blind attempt to fix _configthreadlocale() failures on MinGW.
Apparently, some builds of MinGW contain a version of
_configthreadlocale() that always returns -1, indicating failure.
Rather than treating that as a curl-up-and-die condition, soldier on
as though the function didn't exist. This leaves us without thread
safety on such MinGW versions, but we didn't have it anyway.
Discussion: https://postgr.es/m/d06a16bc-52d6-9f0d-2379-21242d7dbe81@2ndQuadrant.com1 parent ae366aa commit 2cf91cc
2 files changed
+12
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
| 522 | + | |
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1778 | 1778 | | |
1779 | 1779 | | |
1780 | 1780 | | |
1781 | | - | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
1782 | 1784 | | |
1783 | 1785 | | |
1784 | 1786 | | |
| |||
1796 | 1798 | | |
1797 | 1799 | | |
1798 | 1800 | | |
1799 | | - | |
1800 | | - | |
1801 | | - | |
1802 | | - | |
1803 | | - | |
1804 | 1801 | | |
1805 | 1802 | | |
1806 | 1803 | | |
| |||
2017 | 2014 | | |
2018 | 2015 | | |
2019 | 2016 | | |
2020 | | - | |
2021 | 2017 | | |
2022 | 2018 | | |
2023 | | - | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
2024 | 2027 | | |
2025 | | - | |
2026 | 2028 | | |
2027 | 2029 | | |
2028 | 2030 | | |
| |||
0 commit comments