Skip to content
Commit 481d01fa authored by Lukasz Majewski's avatar Lukasz Majewski
Browse files

y2038: nscd: Modify nscd_helper to use __clock_gettime64

The nscd/nscd_helper.c uses __clock_gettime to get current time and on this
basis calculate the relative timeout for poll.
By using __clock_gettime64 on systems with __WORDSIZE == 32 && __TIMESIZE != 64
the timeout is correctly calculated after time_t overflow.
parent e008836c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment