forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1e666fd
committed
libpq: Use strerror_r instead of strerror
Commit453c468 introduced a use of strerror() into libpq, but thatis not thread-safe. Fix by using strerror_r() instead.In passing, update some of the code comments added by453c468, aswe have learned more about the reason for the change in OpenSSL thatstarted this.Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion: Discussion:https://postgr.es/m/b6fb018b-f05c-4afd-abd3-318c649faf18@highgo.ca1 parentda4017a commit1e666fd
File tree
2 files changed
+11
-9
lines changed- src
- backend/libpq
- interfaces/libpq
2 files changed
+11
-9
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1466 | 1466 |
| |
1467 | 1467 |
| |
1468 | 1468 |
| |
1469 |
| - | |
1470 |
| - | |
1471 |
| - | |
1472 |
| - | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
1473 | 1474 |
| |
1474 | 1475 |
| |
1475 | 1476 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1759 | 1759 |
| |
1760 | 1760 |
| |
1761 | 1761 |
| |
1762 |
| - | |
1763 |
| - | |
1764 |
| - | |
1765 |
| - | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
1766 | 1767 |
| |
1767 | 1768 |
| |
1768 | 1769 |
| |
1769 | 1770 |
| |
1770 |
| - | |
| 1771 | + | |
1771 | 1772 |
| |
1772 | 1773 |
| |
1773 | 1774 |
| |
|
0 commit comments
Comments
(0)