This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/6] y2038: hurd: Provide __clock_settime64 function
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: Lukasz Majewski <lukma at denx dot de>, Joseph Myers <joseph at codesourcery dot com>, Paul Eggert <eggert at cs dot ucla dot edu>, Alistair Francis <alistair23 at gmail dot com>, Alistair Francis <alistair dot francis at wdc dot com>, GNU C Library <libc-alpha at sourceware dot org>, Siddhesh Poyarekar <siddhesh at gotplt dot org>, Florian Weimer <fweimer at redhat dot com>, Florian Weimer <fw at deneb dot enyo dot de>, Zack Weinberg <zackw at panix dot com>, Carlos O'Donell <carlos at redhat dot com>, Andreas Schwab <schwab at suse dot de>
- Date: Mon, 27 Jan 2020 23:01:28 +0100
- Subject: Re: [PATCH 2/6] y2038: hurd: Provide __clock_settime64 function
- References: <20200118072047.23071-1-lukma@denx.de> <20200118072047.23071-3-lukma@denx.de> <bdb39a0d-4804-452b-b1ea-bb10977173b1@linaro.org> <20200120190807.14ecc25e@jawa> <b4beb5ed-d239-7318-7808-5512221d2f6a@linaro.org> <20200121173430.01c03fa6@jawa> <238a5728-7394-b388-2798-6ebf1bd72933@linaro.org>
Hello,
Adhemerval Zanella, le mar. 21 janv. 2020 14:20:12 -0300, a ecrit:
> On 21/01/2020 13:34, Lukasz Majewski wrote:
> > In that way there would be no need to add any code (regarding time64)
> > to HURD at all?
> >
>
> Yes, I would like to change the generic files for time64_t support once
> Hurd wants to actually pursuit it. What I would like is to eventually
> sets the generic interface to assume 64 bit time_t, as currently the
> generic bits/typesizes.h still sets __TIME_T_TYPE as __SLONGWORD_TYPE.
Yes, please do this for generic, it's simpler if we can get the
migration done together. It is fine to introduce __clock_get/settime64
which just convert between 32 and 64, and we'll plug a 64bit kernel
interface soon.
Samuel