patching file support/support.h Hunk #1 FAILED at 141. 1 out of 1 hunk FAILED -- saving rejects to file support/support.h.rej patching file time/tst-itimer.c Reject file support/support.h.rej: --- support/support.h +++ support/support.h @@ -141,6 +141,18 @@ static __inline bool support_path_support_time64 (const char *path) 0x80000002ULL); } +/* Return true if the setitimer and getitimer syscalls support 64-bit time_t + values without resulting in overflow. This is not true on some linux systems + which have 64-bit time_t due to legacy kernel API's. */ +static __inline bool support_itimer_support_time64 (void) +{ +#ifdef __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 + return __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64; +#else + return (sizeof (__time_t) == 8); +#endif +} + /* Return true if stat supports nanoseconds resolution. */ extern bool support_stat_nanoseconds (const char *path);