forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5cdd65f
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 parent2a6ebe7 commit5cdd65f
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 | |
---|---|---|---|
| |||
20758 | 20758 |
| |
20759 | 20759 |
| |
20760 | 20760 |
| |
| 20761 | + | |
| 20762 | + | |
| 20763 | + | |
| 20764 | + | |
| 20765 | + | |
| 20766 | + | |
| 20767 | + | |
| 20768 | + | |
| 20769 | + | |
| 20770 | + | |
| 20771 | + | |
| 20772 | + | |
| 20773 | + | |
| 20774 | + | |
| 20775 | + | |
| 20776 | + | |
| 20777 | + | |
20761 | 20778 |
| |
20762 | 20779 |
| |
20763 | 20780 |
| |
| |||
20880 | 20897 |
| |
20881 | 20898 |
| |
20882 | 20899 |
| |
20883 |
| - | |
| 20900 | + | |
20884 | 20901 |
| |
20885 | 20902 |
| |
20886 | 20903 |
| |
20887 | 20904 |
| |
20888 | 20905 |
| |
20889 |
| - | |
| 20906 | + | |
20890 | 20907 |
| |
20891 | 20908 |
| |
20892 | 20909 |
| |
20893 | 20910 |
| |
20894 | 20911 |
| |
20895 |
| - | |
| 20912 | + | |
20896 | 20913 |
| |
20897 | 20914 |
| |
20898 | 20915 |
| |
20899 | 20916 |
| |
20900 | 20917 |
| |
20901 |
| - | |
| 20918 | + | |
20902 | 20919 |
| |
20903 | 20920 |
| |
20904 | 20921 |
| |
|
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 | |
---|---|---|---|
| |||
313 | 313 |
| |
314 | 314 |
| |
315 | 315 |
| |
316 |
| - | |
| 316 | + | |
| 317 | + | |
317 | 318 |
| |
318 | 319 |
| |
319 | 320 |
| |
| |||
751 | 752 |
| |
752 | 753 |
| |
753 | 754 |
| |
754 |
| - | |
| 755 | + | |
755 | 756 |
| |
756 | 757 |
| |
757 | 758 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
| 82 | + | |
82 | 83 |
| |
83 | 84 |
| |
84 | 85 |
| |
| |||
3442 | 3443 |
| |
3443 | 3444 |
| |
3444 | 3445 |
| |
3445 |
| - | |
| 3446 | + | |
3446 | 3447 |
| |
3447 | 3448 |
| |
3448 | 3449 |
| |
|
0 commit comments
Comments
(0)