mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
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:
parent
f496497d92
commit
eca66a0e3e
1 changed files with 1 additions and 1 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Reference in a new issue