Re: [libvirt PATCH 10/32] storage: remove use of stat-time.h headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 23, 2020 at 11:43:03AM +0000, Daniel P. Berrangé wrote:
> The gnulib stat-time.h header provides wrapper functions
> to hide the differences in 'struct stat' between various
> platforms.
> 
> Linux and FreeBSD support the same names, except for
> birthtime which Linux only provides in the new 'statx()'
> syscall we're not using. macOS has completely different
> naming. Since we only rely on this code in one place
> we just use conditionals at time of need.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  src/storage/storage_util.c | 21 ++++++++++++++++-----
>  1 file changed, 16 insertions(+), 5 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux