[PATCH 1/2] y2038: linux: Provide __mq_timedsend_time64 implementation

Andreas Schwab schwab@suse.de
Wed Feb 12 10:19:00 GMT 2020


On Feb 12 2020, Lukasz Majewski wrote:

> Just to clarify - the time.h here is from ./include glibc sources
> directory, so it is "internal" for glibc.

But it is a wrapper around <time.h>.

> In other words - I would like to know if your comment was regarding
> polluting the glibc internal namespace?

It's not about polluting, but since the #include is conditional, we have
inconsistent environment between configurations, which isn't nice.

By moving struct __timespec64 to <include/bits/struct/timespec.h> we can
avoid that inconsistency.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list