[PATCH 2/2] Y2038: make __tz_convert compatible with 64-bit-time
Florian Weimer
fweimer@redhat.com
Wed Jun 13 09:14:00 GMT 2018
On 06/13/2018 11:11 AM, Paul Eggert wrote:
> Albert ARIBAUD (3ADEV) wrote:
>
>> -extern void __tz_compute (time_t timer, struct tm *tm, int
>> use_localtime)
>> +extern void __tz_compute (internal_time_t timer, struct tm *tm, int
>> use_localtime)
>
> Why have two types "internal_time_t" and "__time64_t" that are always
> the same? Wouldn't it be simpler to get rid of "internal_time_t" and use
> "__time64_t" uniformly? If we do need two types, the need should be
> documented clearly.
Yes, we can get rid of internal_time_t if we have __time64_t.
Thanks,
Florian
More information about the Libc-alpha
mailing list