forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit770bddc
committed
Fix up getopt() reset management so it works on recent mingw.
The mingw people don't appear to care about compatibility with non-GNUversions of getopt, so force use of our own copy of getopt on Windows.Also, ensure that we make use of optreset when using our own copy.Per report from Andrew Dunstan. Back-patch to all versions supportedon Windows.1 parentd45f163 commit770bddc
File tree
4 files changed
+41
-15
lines changed- src/backend
- postmaster
- tcop
4 files changed
+41
-15
lines changedLines changed: 21 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20713 | 20713 |
| |
20714 | 20714 |
| |
20715 | 20715 |
| |
| 20716 | + | |
| 20717 | + | |
| 20718 | + | |
| 20719 | + | |
| 20720 | + | |
| 20721 | + | |
| 20722 | + | |
| 20723 | + | |
| 20724 | + | |
| 20725 | + | |
| 20726 | + | |
| 20727 | + | |
| 20728 | + | |
| 20729 | + | |
| 20730 | + | |
| 20731 | + | |
| 20732 | + | |
20716 | 20733 |
| |
20717 | 20734 |
| |
20718 | 20735 |
| |
| |||
20835 | 20852 |
| |
20836 | 20853 |
| |
20837 | 20854 |
| |
20838 |
| - | |
| 20855 | + | |
20839 | 20856 |
| |
20840 | 20857 |
| |
20841 | 20858 |
| |
20842 | 20859 |
| |
20843 | 20860 |
| |
20844 |
| - | |
| 20861 | + | |
20845 | 20862 |
| |
20846 | 20863 |
| |
20847 | 20864 |
| |
20848 | 20865 |
| |
20849 | 20866 |
| |
20850 |
| - | |
| 20867 | + | |
20851 | 20868 |
| |
20852 | 20869 |
| |
20853 | 20870 |
| |
20854 | 20871 |
| |
20855 | 20872 |
| |
20856 |
| - | |
| 20873 | + | |
20857 | 20874 |
| |
20858 | 20875 |
| |
20859 | 20876 |
| |
|
Lines changed: 14 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1328 | 1328 |
| |
1329 | 1329 |
| |
1330 | 1330 |
| |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
1331 | 1338 |
| |
1332 | 1339 |
| |
1333 | 1340 |
| |
| |||
1336 | 1343 |
| |
1337 | 1344 |
| |
1338 | 1345 |
| |
1339 |
| - | |
1340 |
| - | |
1341 |
| - | |
1342 |
| - | |
1343 |
| - | |
1344 |
| - | |
1345 |
| - | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
1346 | 1353 |
| |
1347 | 1354 |
| |
1348 | 1355 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
312 | 312 |
| |
313 | 313 |
| |
314 | 314 |
| |
315 |
| - | |
| 315 | + | |
| 316 | + | |
316 | 317 |
| |
317 | 318 |
| |
318 | 319 |
| |
| |||
750 | 751 |
| |
751 | 752 |
| |
752 | 753 |
| |
753 |
| - | |
| 754 | + | |
754 | 755 |
| |
755 | 756 |
| |
756 | 757 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
80 |
| - | |
| 80 | + | |
| 81 | + | |
81 | 82 |
| |
82 | 83 |
| |
83 | 84 |
| |
| |||
3439 | 3440 |
| |
3440 | 3441 |
| |
3441 | 3442 |
| |
3442 |
| - | |
| 3443 | + | |
3443 | 3444 |
| |
3444 | 3445 |
| |
3445 | 3446 |
| |
|
0 commit comments
Comments
(0)