This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 5/5] y2038: Support for Y2038 safe time on 32 bit systems
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Lukasz Majewski <lukma at denx dot de>
- Cc: <libc-alpha at sourceware dot org>, Stepan Golosunov <stepan at golosunov dot pp dot ru>, Arnd Bergmann <arnd at arndb dot de>, Paul Eggert <eggert at cs dot ucla dot edu>
- Date: Tue, 7 May 2019 16:37:02 +0000
- Subject: Re: [PATCH v3 5/5] y2038: Support for Y2038 safe time on 32 bit systems
- References: <20190414220841.20243-1-lukma@denx.de> <20190507131848.30980-1-lukma@denx.de> <20190507131848.30980-6-lukma@denx.de>
_TIME_BITS support should not be added to public headers until it's
complete. Incomplete support is very unhelpful to users, as it would mean
lots of functions get declared to take the 64-bit time_t type when in fact
their ABI takes a 32-bit time_t argument (so code built with _TIME_BITS=64
wouldn't work at all in a state where it's only partly supported).
When the support *is* added to the public headers, it should come with
tests added to the glibc testsuite that _TIME_BTIS=64 works as expected
for all interfaces for which this can readily be tested.
--
Joseph S. Myers
joseph@codesourcery.com