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.
Resolves:
https://gitlab.com/libvirt/libvirt/-/issues/404
I can't load that link :)
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano