Julia Suvorova 3e015d815b use g_path_get_basename instead of basename
basename(3) and dirname(3) modify their argument and may return
pointers to statically allocated memory which may be overwritten by
subsequent calls.
g_path_get_basename and g_path_get_dirname have no such issues, and
therefore more preferable.

Signed-off-by: Julia Suvorova <jusual@mail.ru>
Message-Id: <1519888086-4207-1-git-send-email-jusual@mail.ru>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-03-06 14:01:29 +01:00
..
2018-02-19 18:27:32 +01:00
2018-03-02 13:45:50 -06:00
2018-03-02 13:45:50 -06:00
2018-03-01 11:05:45 +00:00
2018-03-02 13:45:50 -06:00
2018-02-13 18:25:48 +02:00
2018-03-06 13:16:29 +11:00
2018-03-05 14:27:24 +00:00
2018-03-02 13:45:50 -06:00
2018-03-02 13:45:50 -06:00
2018-03-02 13:45:50 -06:00
2018-03-02 13:45:50 -06:00
2018-02-19 13:03:24 +02:00