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é <[email protected]>
---
  block/qapi.c | 11 ++++-------
  1 file changed, 4 insertions(+), 7 deletions(-)

Reviewed-by: Max Reitz <[email protected]>

_______________________________________________
Virtio-fs mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/virtio-fs

Reply via email to