On 05.05.21 12:36, Daniel P. Berrangé wrote:
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.Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> --- block/qapi.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>