[PULL 50/59] linux-user: use GDateTime for formatting timestamp for core file

2021-05-17 Thread Laurent Vivier
From: Daniel P. Berrangé 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. Ber

[PULL 50/59] linux-user: use GDateTime for formatting timestamp for core file

2021-05-17 Thread Laurent Vivier
From: Daniel P. Berrangé 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. Ber