[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH] Port to 32-bit long + 64-bit time_t

From: rsbecker
Subject: RE: [PATCH] Port to 32-bit long + 64-bit time_t
Date: Mon, 3 Oct 2022 16:05:08 -0400

On October 3, 2022 3:56 PM, Paul Eggert wrote:
>On 10/3/22 09:12, rsbecker@nexbridge.com wrote:
>> This happens in AR and TAR also, which appear to be limited to 32-bit time_t 
>> on
>some platforms. It's a struggle but we have some time to deal with it.
>Yes, I've been part of an ongoing effort to make GNU apps Y2038-safe, even on
>32-bit platforms. This is why I've been submitting patches to GNU Make. Many
>other GNU apps are also affected; core apps are mostly fixed already.
>It's not just the year 2038, though that's the most pressing.
>Traditional tar format uses an unsigned 33-bit timestamp and stops working 
>2242-03-16 12:56:31 UTC. ar format uses a 12-digit timestamp and stops working
>after 318857-05-20 17:46:39 UTC. Of course these are far-future problems - 
>that people or programs might use 'touch' to create far-future problems today.
>GNU tar has long had format fixes (gnu and pax formats) for this. GNU ar 
>have a fix but that's less important. Etc.
>In looking through old dev histories it appears Paul pushes changes every now 
>then, so I'll wait until he's pushed his next batch of changes, which will 
>include some timestamp-related fixes, before looking into this again.

Thanks. I'll be keeping an eye out for those.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]