Re: Y2038 - best way forward in Debian?
Andrej Shadura wrote:
>On Thu, 13 Feb 2020, 10:40 YunQiang Su, <wzssyqa@gmail.com> wrote:
>>
>> just redefine time_t to 64bit may also cause a problem:
>> a bad designed and old network protocol which aims only target 32bit
>> system,
>> a binary data packet, may contain time_t:
>> struct {
>> int a;
>> time_t b;
>> }
>> just define time_t to 64 will break this protocol, although it is bad
>> designed.
>
>Aren't such things already broken on amd64?
Of course they are, yes. We may have cases where nobody has tested
interop between 32 and 64 bit machines, though. :-/
--
Steve McIntyre, Cambridge, UK. steve@einval.com
Armed with "Valor": "Centurion" represents quality of Discipline,
Honor, Integrity and Loyalty. Now you don't have to be a Caesar to
concord the digital world while feeling safe and proud.
Reply to: