[PATCH v4] Y2038: make __difftime compatible with 64-bit time

Albert ARIBAUD albert.aribaud@3adev.fr
Thu Dec 20 18:48:00 GMT 2018


Hi Joseph,

On Thu, 20 Dec 2018 17:10:12 +0000, Joseph Myers
<joseph@codesourcery.com> wrote :

> On Thu, 20 Dec 2018, Albert ARIBAUD (3ADEV) wrote:
> 
> >  strong_alias (__difftime, difftime)
> > +
> > +#else
> > +
> > +strong_alias (__difftime64, difftime)
> > +
> > +#endif  
> 
> I'd expect a single strong_alias (__difftime, difftime) call outside
> the #if, just like e.g. the single weak_alias (__localtime_r,
> localtime_r) call.

Weird. I initially had the single strong_alias (__difftime, difftime),
which failed for the 32-bit build, and I'm pretty sure from my bash
history that I'd rebuilt clean... But I've just done it again for both
architecture sizes, and no sign of the error.

v5 on its way.

Cordialement,
Albert ARIBAUD
3ADEV



More information about the Libc-alpha mailing list