[PATCH v3 5/5] y2038: Support for Y2038 safe time on 32 bit systems

Joseph Myers joseph@codesourcery.com
Tue May 7 16:37:00 GMT 2019


_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



More information about the Libc-alpha mailing list