forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf0ee42d
committed
Fix unportable coding in DetermineSleepTime().
We should not assume that struct timeval.tv_sec is a long, becauseit ain't necessarily. (POSIX says that it's a time_t, which mightwell be 64 bits now or in the future; or for that matter might be32 bits on machines with 64-bit longs.) Per buildfarm member panther.Back-patch to 9.3 where the dubious coding was introduced.1 parent60ff2fd commitf0ee42d
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1462 | 1462 |
| |
1463 | 1463 |
| |
1464 | 1464 |
| |
| 1465 | + | |
1465 | 1466 |
| |
1466 | 1467 |
| |
1467 | 1468 |
| |
1468 |
| - | |
| 1469 | + | |
| 1470 | + | |
1469 | 1471 |
| |
1470 | 1472 |
| |
1471 | 1473 |
| |
|
0 commit comments
Comments
(0)