This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 2/5] y2038: Introduce struct __timeval64 - new internal glibc type
- From: Alistair Francis <alistair23 at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Lukasz Majewski <lukma at denx dot de>, Paul Eggert <eggert at cs dot ucla dot edu>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, 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: Tue, 28 Jan 2020 15:17:30 -0800
- Subject: Re: [PATCH v2 2/5] y2038: Introduce struct __timeval64 - new internal glibc type
- References: <20200126145258.32643-1-lukma@denx.de> <20200126145258.32643-2-lukma@denx.de> <CAKmqyKMXxvur5C0xrXCQRr2aAoNysQNBL5c8BMzXtZAKgxMEiQ@mail.gmail.com> <alpine.DEB.2.21.2001280042410.28987@digraph.polyomino.org.uk> <CAKmqyKO2A3fYGA1DMjejZuDBd7exhkrS1sFoSV=LULWS6xmB6g@mail.gmail.com> <alpine.DEB.2.21.2001280140130.28987@digraph.polyomino.org.uk>
On Mon, Jan 27, 2020 at 5:42 PM Joseph Myers <joseph@codesourcery.com> wrote:
>
> On Tue, 28 Jan 2020, Alistair Francis wrote:
>
> > How should I add a __rusage64 type then? Right now I have modified
>
> Define it in an *internal, non-installed* header, just like __timespec64
> is defined in include/time.h (the internal wrapper for the installed
> header). For example, inside the "#ifndef _ISOMAC" section of
> include/sys/resource.h (if using a wrapper header like that, such internal
> definitions must be inside #ifndef _ISOMAC and the include of the public
> header outside that conditional).
Thanks for the help Joseph. I think I have changed it all around so
it's in non-installed headers.
Alistair
>
> --
> Joseph S. Myers
> joseph@codesourcery.com