This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC 1/7] y2038: Introduce struct __timespec64


On Wed, 27 Mar 2019, Lukasz Majewski wrote:

> This type is a glibc's type similar to struct timespec
> but whose tv_sec field is a __time64_t rather than a time_t,
> which makes it Y2038-proof and usable to pass between user
> code and Y2038-proof kernel syscalls (e.g. clock_gettime()).

Could you please give a detailed explanation of why this needs to go in an 
installed header, as opposed to purely in a glibc-internal header?  (All 
bits/ headers should be installed headers; the set of installed headers is 
determined by the "headers" settings in makefiles.  Since you're not 
actually including this from the public time.h in this patch, only the 
internal one, there doesn't seem to be a reason here for either the naming 
or installing the header.)

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]