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: Fifth draft of the Y2038 design document


On Fri, 10 Mar 2017, Albert ARIBAUD wrote:

> #else
> # ifdef __REDIRECT
> extern int __REDIRECT(clock_gettime,(clockid_t __clock_id, struct timespec *__tp),clock_gettime64) __THROW;
> # else
> #  define clock_gettime clock_gettime64

No, both of those should reference the implementation-namespace 
__clock_gettime64, which should be exported at a public symbol version 
(and there shouldn't be a clock_gettime64 alias without clear evidence for 
the need for a clock_gettime64 API for using 64-bit times in an 
application built for 32-bit times by default).

-- 
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]