This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v9 1/2] Y2038: Add 64-bit time for all architectures
Hi Joseph,
On Thu, 11 Oct 2018 15:22:57 +0000, Joseph Myers
<joseph@codesourcery.com> wrote :
> On Thu, 11 Oct 2018, Albert ARIBAUD wrote:
>
> > > This patch could be split in two. The first would add bits/timesize.h
> > > (two variants), and maybe also use __TIMESIZE in bits/msq-pad.h and remove
> > > the x86-specific version of that header. The second would add
> > > bits/time64.h (one variant).
> >
> > I assume you mean bits/msq.h, not bits/msq-pad.h.
>
> No, I mean bits/msq-pad.h. As of today there is only one bits/msq.h for
> systems using the Linux kernel, and the only reason for the x86-specific
> variant of bits/msq-pad.h to exist is the lack of __TIMESIZE to use in the
> generic bits/msq-pad.h.
For consistency, should we not replace __WORDSIZE with __TIMESIZE in all
msq-pad.h files rather than just sysdeps/unix/sysv/linux/bits/msq-pad.h?
Cordialement,
Albert ARIBAUD
3ADEV