[Y2038] Replacement of struct timespec with struct __timespec64 in glibc internal code
Lukasz Majewski
lukma@denx.de
Wed Jun 24 20:39:51 GMT 2020
Hi Andreas,
> On Jun 24 2020, Lukasz Majewski wrote:
>
> > As I stated above - e.g. timespec_sub() helper function (from
> > /support) is used by both pthreats and tests.
>
> There are two definitions of timespec_sub, in support/timespec-sub.c
> and in sysdeps/pthread/posix-timer.h. The former is for use in
> tests, the latter is used by libpthread.
So if I understood it correctly - the support/* functions are to
facilitate writing tests?
>
> The functions in support/timespec-*.c should probably be renamed to
> xtimespec_*.
And the 'x' prefix means that those functions are supposed to be used
for testing?
>
> Andreas.
>
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20200624/b065a8e6/attachment.sig>
More information about the Libc-alpha
mailing list