[[PATCH RFC 2] 02/63] Y2038: add function __difftime64

Florian Weimer fweimer@redhat.com
Wed May 2 07:46:00 GMT 2018


On 05/02/2018 09:22 AM, Albert ARIBAUD wrote:
> IOW: does the set of 32-bit architectures on which we will use
> 64-bit with 32-bit time need all the complexities of current difftime?
> I'm thinking for instance about padding bits.

Yes, you can simplify the code if you want, assuming that time_t doesn't 
have padding bits, and even hard-code the matching unsigned type.

Thanks,
Florian



More information about the Libc-alpha mailing list