
21 Nov
2022
21 Nov
'22
3:46 p.m.
On a Monday in 2022, Michal Privoznik wrote:
On 32-bit arches, it's possible not only to request -D_FILE_OFFSET_BITS=64 (which is always done with meson) but also -D_TIME_BITS=64. With glibc, both of these affect what variant of stat() or lstat() is called. With 64 bit time it's: __stat64_time64() or __lstat64_time64(), respectively.
Fortunately, no other variant (__xstat(), __xstat64()) has _time64 alternative and thus does not need similar treatment.
Similarly, musl is not affected by this.
I can't load that link :)
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> ---
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano