[Top][All Lists]

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

Re: [PATCH 1/1] Y2038: add function __difftime64

From: Paul Eggert
Subject: Re: [PATCH 1/1] Y2038: add function __difftime64
Date: Wed, 1 Aug 2018 11:49:39 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Albert ARIBAUD wrote:
Hm... I fear that there's a vicious circle here: Paul wants Y2038
support code to go into Gnulib before it goes to glibc (for that part
of the code which exists in both, of course).


But in order for Y0238
support code to go in, Gnulib will need a Y2038-proof time_t from

No, that's not needed. Perhaps Gnulib can exercise the Y2038-safe support code on non-glibc platforms. Or perhaps the code can go into Gnulib even though it's never exercised on any platform (in this case we are testing that the code won't break anything). So we should be able to put this code into Gnulib now, even if glibc doesn't have a 64-bit time_t yet. There certainly should be no circular dependency here.

reply via email to

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