y2038: SUPPORT_32BIT_PLATFORMS = False, fixes #9429

Not as bad as it sounds:
32bit platforms with 64bit time_t will still work.

As of 2026, this is pretty much any platform that can run borg reasonably well.
This commit is contained in:
Thomas Waldmann 2026-03-02 23:06:29 +01:00
parent f496497d92
commit eca66a0e3e
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -53,7 +53,7 @@ def timestamp(s):
# As long as people are using borg on 32bit platforms to access borg archives, we must
# keep this value True. But we can expect that we can stop supporting 32bit platforms
# well before coming close to the year 2038, so this will never be a practical problem.
SUPPORT_32BIT_PLATFORMS = True # set this to False before y2038.
SUPPORT_32BIT_PLATFORMS = False # set this to False before y2038.
if SUPPORT_32BIT_PLATFORMS:
# second timestamps will fit into a signed int32 (platform time_t limit).