Searched hist:39683553 (Results 1 – 1 of 1) sorted by relevance
/qemu/block/ |
H A D | qapi.c | 39683553 Fri Apr 30 11:59:06 GMT 2021 Daniel P. Berrangé <berrange@redhat.com> block: use GDateTime for formatting timestamp when dumping snapshot info
The GDateTime APIs provided by GLib avoid portability pitfalls, such as some platforms where 'struct timeval.tv_sec' field is still 'long' instead of 'time_t'. When combined with automatic cleanup, GDateTime often results in simpler code too.
Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
|