This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Y2038: add struct __timespec64
On Wed, 26 Sep 2018, Albert ARIBAUD wrote:
> I have just checked the Y2038 syscalls branch I am using currently, and
> it seems to clear the 32 upper bits of tv_nsec when receiving it from
> the userland, so yes, we actually don't need to clear it ourselves
> (I'll have to update the design document, which still assumes
> otherwise).
In that case, is there any reason for the contents of the internal type to
differ at all from the contents of the public type? Or would it be best
for both to use the anonymous padding when building for 32-bit long?
--
Joseph S. Myers
joseph@codesourcery.com