forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3f1fd41
committed
Fix another incorrect data type choice from commitdc21234.
add_file_to_manifest declared its mtime argument as pg_time_t,apparently on the principle that copy-and-paste from the backendis fine. However, the callers are passing struct stat's st_mtimefield which is plain time_t, and add_file_to_manifest itself ispassing the value to gmtime(3) which expects plain time_t,so the whole thing would not work at all on any platform wherethose types are different. Fortunately we can just switch thisvariable to time_t.Per warnings from assorted buildfarm members.1 parent390408e commit3f1fd41
2 files changed
+2
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
75 |
| - | |
| 75 | + | |
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 | 16 |
| |
18 | 17 |
| |
19 | 18 |
| |
| |||
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
26 |
| - | |
| 25 | + | |
27 | 26 |
| |
28 | 27 |
| |
29 | 28 |
| |
|
0 commit comments
Comments
(0)