Loading
fpmkunit: store file time stamps in Int64
Since commit 01302bc4, FileAge and FileGetDate return Int64, but TBuildEngine
still stored their results in 32-bit variables, so on 64-bit Unix every
time stamp after 2038-01-19 wrapped to a negative value:
FileNewerconsidered a freshly compiled unit older than its source, so"fpmake install"recompiled everything.SysCopyFilegave every installed file a 1906 mtime.
Related to issue #40552 (closed)
This was found while working on reproducible builds for openSUSE by building at a simulated date in 2042 (See https://reproducible-builds.org/).