On 2022-12-16 4:24 p.m., Florian Weimer wrote:
* John David Anglin:
I think __USE_TIME_BITS64 should be defined when _FILE_OFFSET_BITS==64
This would avoid the overflow converting tv_sec from 64 to 32 bits.
It's an ABI break. You probably can enable it in the tar build safely
because it's not a library. But doing it by default across the
distribution is difficult because it changes the meaning of time_t in
header files.
But it seems we already have an ABI break since tar built before the recent
glibc changes.
Regards,
Dave
--
John David Anglin dave.ang...@bell.net