diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2021-05-05 11:37:01 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-18 07:09:58 +0200 |
commit | 68af19ad72630f00d1b92635334050826e4b6f08 (patch) | |
tree | 253ea5241a9925b2c531f8552a4191e1ec6e9e57 /roms/config.seabios-128k | |
parent | 0fa259dd7986d152294f31a6483272a4cb627b6d (diff) |
linux-user: use GDateTime for formatting timestamp for core file
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é <berrange@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210505103702.521457-7-berrange@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'roms/config.seabios-128k')
0 files changed, 0 insertions, 0 deletions