This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v7 0/3] y2038: Linux: Introduce __clock_settime64 function
On Wed, 18 Sep 2019, Lukasz Majewski wrote:
> Just one more question - am I correct that the above code will increase
> the overall sizeof(struct timespec) to 12 for machines with __WORDSIZE
> == 32 ?
It looks like that's a bug in the patch, indeed. (The padding should
*only* be added when __TIMESIZE == 64 in addition to the other conditions
given, not when __TIMESIZE == 32.)
--
Joseph S. Myers
joseph@codesourcery.com