[PATCH] virmockstathelpers: Load aliases for 64-bit time
Ján Tomko
jtomko at redhat.com
Mon Nov 21 14:46:57 UTC 2022
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 at redhat.com>
>---
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20221121/52239321/attachment.sig>
More information about the libvir-list
mailing list